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
+3 -1
View File
@@ -131,7 +131,9 @@ VM, waiting to run some code!
You execute a string of Wren source code like so:
:::c
WrenInterpretResult result = wrenInterpret(vm,
WrenInterpretResult result = wrenInterpret(
vm,
"my_module",
"System.print(\"I am running in a VM!\")");
The string is a series of one or more statements separated by newlines. Wren