Begin work on Module support

This commit is contained in:
Joshua Granick
2014-06-26 07:37:15 -07:00
parent edf34475e2
commit dd91d80b2e
7 changed files with 46 additions and 12 deletions

View File

@@ -19,7 +19,7 @@
#include <ui/TouchEvent.h>
#include <ui/Window.h>
#include <ui/WindowEvent.h>
#include <vm/Neko.h>
#include <vm/NekoVM.h>
namespace lime {
@@ -103,7 +103,7 @@ namespace lime {
value lime_neko_execute (value module) {
#ifdef LIME_NEKO
Neko::Execute (val_string (module));
NekoVM::Execute (val_string (module));
#endif
return alloc_null ();

View File

@@ -1,4 +1,4 @@
#include <vm/Neko.h>
#include <vm/NekoVM.h>
#include <stdio.h>
#include <neko_vm.h>
@@ -40,7 +40,7 @@ namespace lime {
}
void Neko::Execute (const char *modulePath) {
void NekoVM::Execute (const char *modulePath) {
neko_vm *vm;