summaryrefslogtreecommitdiffhomepage
path: root/examples/execute-string.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2021-07-11 07:18:37 +0200
committerJo-Philipp Wich <jo@mein.io>2021-07-11 15:49:14 +0200
commitd5b25f942147b09511d77d5470cd38a1e1643fb9 (patch)
tree40542b06a966366e2e8a3a0118e756874a838ce6 /examples/execute-string.c
parentcc4ce8dfd13e833702c949e56049443cd01c0dfb (diff)
treewide: harmonize function naming
- Ensure that most functions follow the subject_verb naming schema - Move type related function from value.c to types.c - Rename value.c to vallist.c Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'examples/execute-string.c')
-rw-r--r--examples/execute-string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/execute-string.c b/examples/execute-string.c
index c51a600..1fcc966 100644
--- a/examples/execute-string.c
+++ b/examples/execute-string.c
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
uc_vm_init(&vm, &config);
/* load standard library into global VM scope */
- uc_load_stdlib(uc_vm_scope_get(&vm));
+ uc_stdlib_load(uc_vm_scope_get(&vm));
/* add global variables x and y to VM scope */
ucv_object_add(uc_vm_scope_get(&vm), "x", ucv_int64_new(123));