Bind C methods to Wren using foreign declarations.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user