Remove apfl_function_response

Accidentally comitted that already
This commit is contained in:
Laria 2022-01-04 21:56:52 +01:00
parent f3d0bbed17
commit c98a4f4fe9

View file

@ -554,24 +554,6 @@ void apfl_editable_dict_destroy(apfl_editable_dict);
*/
apfl_dict apfl_editable_dict_finalize(apfl_editable_dict);
enum apfl_function_response_type {
APFL_FUNCTION_RESPONSE_OK,
APFL_FUNCTION_RESPONSE_ERROR,
};
struct apfl_function_response {
enum apfl_function_response_type type;
struct apfl_value value;
};
typedef struct apfl_function_response (*apfl_user_function_cb)(apfl_ctx, struct apfl_list arguments, void *);
struct apfl_user_function {
apfl_user_function_cb cb;
void *opaque;
};
enum apfl_result_type {
APFL_RESULT_OK,
APFL_RESULT_ERR,