aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_page.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/graphics/je_lua_page.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_page.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_page.cpp b/src/lua/modules/graphics/je_lua_page.cpp
index 00a9302..c3fdc7e 100644
--- a/src/lua/modules/graphics/je_lua_page.cpp
+++ b/src/lua/modules/graphics/je_lua_page.cpp
@@ -55,14 +55,14 @@ namespace JinEngine
LUA_EXPORT void luaopen_Page(lua_State* L)
{
- luaL_Reg f[] = {
+ luaL_Reg methods[] = {
{ "__gc", l_gc },
{ "getSize", l_getSize },
{ "getWidth", l_getWidth },
{ "getHeight", l_getHeight },
{ 0, 0 }
};
- luax_newtype(L, Jin_Lua_Page, f);
+ luax_newtype(L, Jin_Lua_Page, methods);
}
} // namespace Lua