diff options
Diffstat (limited to 'ast.h')
-rw-r--r-- | ast.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -113,13 +113,13 @@ uint32_t ut_append_op(struct ut_state *s, uint32_t a, uint32_t b); enum ut_error_type ut_parse(struct ut_state *s, const char *expr); void ut_free(struct ut_state *s); -struct json_object *ut_new_func(struct ut_state *s, struct ut_op *decl); -struct json_object *ut_new_object(struct ut_state *s, struct json_object *proto); +struct json_object *ut_new_func(struct ut_op *decl); +struct json_object *ut_new_object(struct json_object *proto); struct json_object *ut_new_double(double v); struct json_object *ut_new_null(void); bool ut_register_extended_type(const char *name, void (*freefn)(void *)); -struct json_object *ut_set_extended_type(struct ut_state *s, struct json_object *v, struct json_object *proto, const char *name, void *data); +struct json_object *ut_set_extended_type(struct json_object *v, struct json_object *proto, const char *name, void *data); void **ut_get_extended_type(struct json_object *val, const char *name); void *ParseAlloc(void *(*mfunc)(size_t)); |