diff options
Diffstat (limited to 'src/lua/modules/event/je_lua_event.cpp')
-rw-r--r-- | src/lua/modules/event/je_lua_event.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lua/modules/event/je_lua_event.cpp b/src/lua/modules/event/je_lua_event.cpp index d09108a..82ba385 100644 --- a/src/lua/modules/event/je_lua_event.cpp +++ b/src/lua/modules/event/je_lua_event.cpp @@ -111,18 +111,18 @@ namespace JinEngine } return 1; } - - LUA_IMPLEMENT const luaL_Reg f[] = { - { "poll", l_event_poll }, - { 0, 0 } - }; /** * load event module */ LUA_EXPORT int luaopen_event(lua_State* L) { + luaL_Reg f[] = { + { "poll", l_event_poll }, + { 0, 0 } + }; luax_newlib(L, f); + return 1; } |