aboutsummaryrefslogtreecommitdiff
path: root/src/lua/modules/graphics/je_lua_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lua/modules/graphics/je_lua_text.cpp')
-rw-r--r--src/lua/modules/graphics/je_lua_text.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua/modules/graphics/je_lua_text.cpp b/src/lua/modules/graphics/je_lua_text.cpp
index 0db6c32..6509e73 100644
--- a/src/lua/modules/graphics/je_lua_text.cpp
+++ b/src/lua/modules/graphics/je_lua_text.cpp
@@ -21,11 +21,11 @@ namespace JinEngine
LUA_EXPORT void luaopen_Text(lua_State* L)
{
- luaL_Reg f[] = {
+ luaL_Reg methods[] = {
{ "__gc", l_gc },
{ 0, 0 }
};
- luax_newtype(L, Jin_Lua_Text, f);
+ luax_newtype(L, Jin_Lua_Text, methods);
}
} // namespace Lua