summaryrefslogtreecommitdiff
path: root/source/3rd-party/Luax/luax_enum.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/3rd-party/Luax/luax_enum.cpp')
-rw-r--r--source/3rd-party/Luax/luax_enum.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/3rd-party/Luax/luax_enum.cpp b/source/3rd-party/Luax/luax_enum.cpp
index 59d8161..ec73fce 100644
--- a/source/3rd-party/Luax/luax_enum.cpp
+++ b/source/3rd-party/Luax/luax_enum.cpp
@@ -8,7 +8,7 @@ namespace Luax
///
/// ֻmetatable__index
///
- int l_rmt__index(lua_State* L)
+ int _rmt__index(lua_State* L)
{
// params:
// 1: enum table
@@ -24,7 +24,7 @@ namespace Luax
return 1;
}
- int l_rmt__newindex(lua_State* L)
+ int _rmt__newindex(lua_State* L)
{
// upvalue:
// 1: enum table name
@@ -53,7 +53,7 @@ namespace Luax
lua_setfield(L, -2, "__index");
lua_pushstring(L, name);
- lua_pushcclosure(L, l_rmt__newindex, 1);
+ lua_pushcclosure(L, _rmt__newindex, 1);
lua_setfield(L, -2, "__newindex");
lua_newtable(L); // enum table