Update Call to WrenInterpret in Docs
Fixes #599 by updating the arguments to WrenInterpret to match the new API.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user