Bind C methods to Wren using foreign declarations.

This commit is contained in:
Bob Nystrom
2015-03-24 07:58:15 -07:00
parent 82fceb8361
commit 0bd19da392
11 changed files with 165 additions and 131 deletions
+1
View File
@@ -8,6 +8,7 @@ WrenVM* createVM()
{
WrenConfiguration config;
config.bindForeignMethodFn = NULL;
config.loadModuleFn = readModule;
// Since we're running in a standalone process, be generous with memory.