diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-06-23 19:31:19 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-07-11 15:49:14 +0200 |
commit | 98b9c84a369b9f9fa2ee0c87724fcc2066aa0d65 (patch) | |
tree | e44978b41d7e97c47b5d2bdd57bc7f016e11eedd /lib.c | |
parent | 1adfba098ee0ac71b420590b17c1c65bb2318744 (diff) |
lib: expose stdlib function array
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2881,7 +2881,7 @@ uc_b64enc(uc_vm *vm, size_t nargs) */ -static const uc_cfunction_list functions[] = { +const uc_cfunction_list uc_stdlib_functions[] = { { "chr", uc_chr }, { "die", uc_die }, { "exists", uc_exists }, @@ -2945,7 +2945,7 @@ static const uc_cfunction_list functions[] = { void uc_load_stdlib(uc_value_t *scope) { - uc_add_proto_functions(scope, functions); + uc_add_proto_functions(scope, uc_stdlib_functions); } uc_value_t * |