diff options
Diffstat (limited to 'src/lua/modules/math/je_lua_math.cpp')
-rw-r--r-- | src/lua/modules/math/je_lua_math.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lua/modules/math/je_lua_math.cpp b/src/lua/modules/math/je_lua_math.cpp index fd8ffa5..2afeaf9 100644 --- a/src/lua/modules/math/je_lua_math.cpp +++ b/src/lua/modules/math/je_lua_math.cpp @@ -16,13 +16,12 @@ namespace JinEngine return 1; } - LUA_IMPLEMENT const luaL_Reg f[] = { - { "mod", l_mod }, - { 0, 0 } - }; - LUA_EXPORT int luaopen_math(lua_State* L) { + luaL_Reg f[] = { + { "mod", l_mod }, + { 0, 0 } + }; luax_newlib(L, f); return 1; } |