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