summaryrefslogtreecommitdiffhomepage
path: root/lib.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-11-19 19:11:52 +0100
committerJo-Philipp Wich <jo@mein.io>2020-11-19 19:51:49 +0100
commita162cf7aadacd08eb11af072bcb9dd041866b579 (patch)
treee0a829f63600c869268d61d6fecd1663bd65c5ea /lib.h
parentff441aa908ad48ab5d197f4efd7d6e879fe185a2 (diff)
treewide: rebrand to ucode
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib.h')
-rw-r--r--lib.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib.h b/lib.h
index aaaff55..409cfc4 100644
--- a/lib.h
+++ b/lib.h
@@ -20,14 +20,14 @@
#include "ast.h"
#include "lexer.h"
-typedef struct json_object *(ut_c_fn)(struct ut_state *, uint32_t, struct json_object *);
+typedef struct json_object *(uc_c_fn)(struct uc_state *, uint32_t, struct json_object *);
-void ut_lib_init(struct ut_state *state, struct json_object *scope);
+void uc_lib_init(struct uc_state *state, struct json_object *scope);
-struct json_object *ut_execute_source(struct ut_state *s, struct ut_source *src, struct ut_scope *scope);
+struct json_object *uc_execute_source(struct uc_state *s, struct uc_source *src, struct uc_scope *scope);
-struct json_object *ut_parse_error(struct ut_state *s, uint32_t off, uint64_t *tokens, int max_token);
+struct json_object *uc_parse_error(struct uc_state *s, uint32_t off, uint64_t *tokens, int max_token);
-char *ut_format_error(struct ut_state *state, FILE *fp);
+char *uc_format_error(struct uc_state *state, FILE *fp);
#endif /* __LIB_H_ */