summaryrefslogtreecommitdiffhomepage
path: root/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ast.h b/ast.h
index 9bb6696..9840ad4 100644
--- a/ast.h
+++ b/ast.h
@@ -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));