summaryrefslogtreecommitdiff
path: root/source/3rd-party/Luax/luax_enum.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-04-03 21:56:51 +0800
committerchai <chaifix@163.com>2019-04-03 21:56:51 +0800
commite13616b5c40f912853be99f0603f0e4c97b22062 (patch)
tree6663eab986dbf0317f326bce863edc3d7bf3332e /source/3rd-party/Luax/luax_enum.cpp
parentc8a6a8e2dd6f015a31b4f8191ad945a78fe77f3d (diff)
*misc
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