diff options
-rw-r--r-- | bin/SDL2.dll | bin | 1279488 -> 771072 bytes | |||
-rw-r--r-- | bin/cembed.exe | bin | 44032 -> 11264 bytes | |||
-rw-r--r-- | bin/jin.exe | bin | 2001920 -> 540672 bytes | |||
-rw-r--r-- | bin/lua51.dll | bin | 364544 -> 364544 bytes | |||
-rw-r--r-- | src/libjin-lua/je_lua_jin.cpp | 3 |
5 files changed, 2 insertions, 1 deletions
diff --git a/bin/SDL2.dll b/bin/SDL2.dll Binary files differindex dc5633e..6bb9433 100644 --- a/bin/SDL2.dll +++ b/bin/SDL2.dll diff --git a/bin/cembed.exe b/bin/cembed.exe Binary files differindex bace0b5..e268f2b 100644 --- a/bin/cembed.exe +++ b/bin/cembed.exe diff --git a/bin/jin.exe b/bin/jin.exe Binary files differindex 1d45f87..c064c81 100644 --- a/bin/jin.exe +++ b/bin/jin.exe diff --git a/bin/lua51.dll b/bin/lua51.dll Binary files differindex e427e83..64f08ae 100644 --- a/bin/lua51.dll +++ b/bin/lua51.dll diff --git a/src/libjin-lua/je_lua_jin.cpp b/src/libjin-lua/je_lua_jin.cpp index 37b8358..fec1544 100644 --- a/src/libjin-lua/je_lua_jin.cpp +++ b/src/libjin-lua/je_lua_jin.cpp @@ -40,6 +40,7 @@ namespace JinEngine } // Register jin module, keep it on the top of stack. + // The reason why not using luaL_register is because we want register some variables into jin module. LUA_EXPORT void open(lua_State* L) { jin_log_info("Openning jin library."); @@ -93,7 +94,7 @@ namespace JinEngine LUA_EXPORT void boot(lua_State* L, const char* cwd) { - //luax_clearstack(L); + luax_clearstack(L); luax_getglobal(L, MODULE_NAME); luax_newtable(L); luax_setfieldstring(L, "cwd", cwd); |