From e13616b5c40f912853be99f0603f0e4c97b22062 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 3 Apr 2019 21:56:51 +0800 Subject: *misc --- source/3rd-party/Luax/luax_enum.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/3rd-party/Luax/luax_enum.cpp') 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 -- cgit v1.1-26-g67d0