aboutsummaryrefslogtreecommitdiff
path: root/src/lua/je_lua_jin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/je_lua_jin.cpp')
-rw-r--r--src/lua/je_lua_jin.cpp22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/lua/je_lua_jin.cpp b/src/lua/je_lua_jin.cpp
index e3af169..8d79415 100644
--- a/src/lua/je_lua_jin.cpp
+++ b/src/lua/je_lua_jin.cpp
@@ -39,23 +39,21 @@ namespace JinEngine
return 1;
}
- LUA_IMPLEMENT const luax_Str s[] = {
- { "version", VERSION },
- { "author", AUTHOR },
- { "codename", CODE_NAME },
- { 0, 0 }
- };
-
- LUA_IMPLEMENT const luax_Num n[] = {
- { "revision", REVISION },
- { 0, 0 }
- };
-
// Register jin module, keep it on the top of stack.
LUA_EXPORT void open(lua_State* L)
{
luax_globaltable(L, MODULE_NAME);
+ const luax_Str s[] = {
+ { "version", VERSION },
+ { "author", AUTHOR },
+ { "codename", CODE_NAME },
+ { 0, 0 }
+ };
+ const luax_Num n[] = {
+ { "revision", REVISION },
+ { 0, 0 }
+ };
// Register values.
luax_setfieldstrings(L, s);
luax_setfieldnumbers(L, n);