diff options
-rw-r--r-- | lib.c | 2 | ||||
-rw-r--r-- | lib.h | 2 | ||||
-rw-r--r-- | main.c | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -2579,7 +2579,7 @@ static const uc_cfunction_list functions[] = { void -uc_lib_init(uc_value_t *scope) +uc_load_stdlib(uc_value_t *scope) { uc_add_proto_functions(scope, functions); } @@ -25,7 +25,7 @@ typedef struct { uc_cfn_ptr_t func; } uc_cfunction_list; -void uc_lib_init(uc_value_t *scope); +void uc_load_stdlib(uc_value_t *scope); uc_value_t *uc_alloc_global(uc_vm *vm); bool format_source_context(uc_stringbuf_t *buf, uc_source *src, size_t off, bool compact); @@ -112,7 +112,7 @@ parse(uc_parse_config *config, uc_source *src, } /* load std functions into global scope */ - uc_lib_init(globals); + uc_load_stdlib(globals); rc = uc_vm_execute(&vm, entry, globals, modules); |