fix: update WrenInterpret calls in embedding docs to include module name argument

This commit is contained in:
Will Speak
2018-10-03 06:39:26 +00:00
parent 673d5c57cd
commit 921aec9ff7
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -207,7 +207,7 @@ Over in the host, first we'll set up the VM:
config.bindForeignMethodFn = bindForeignMethod;
WrenVM* vm = wrenNewVM(&config);
wrenInterpret(vm, "some code...");
wrenInterpret(vm, "my_module", "some code...");
return 0;
}