summaryrefslogtreecommitdiff
path: root/Source/3rdParty/Luax/luax_class.cpp
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-18 08:49:16 +0800
committerchai <chaifix@163.com>2019-03-18 08:49:16 +0800
commit5e2a973516e0729b225da9de0b03015dc5854ac4 (patch)
tree419e662de962cdc3cec646a814f443a9434b5db5 /Source/3rdParty/Luax/luax_class.cpp
parent9c0c9c9284b4cea07656a5e91eaf90adb961a38e (diff)
*luax
Diffstat (limited to 'Source/3rdParty/Luax/luax_class.cpp')
-rw-r--r--Source/3rdParty/Luax/luax_class.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/3rdParty/Luax/luax_class.cpp b/Source/3rdParty/Luax/luax_class.cpp
index 155fd28..4c74926 100644
--- a/Source/3rdParty/Luax/luax_class.cpp
+++ b/Source/3rdParty/Luax/luax_class.cpp
@@ -5,6 +5,8 @@
namespace Luax
{
+#ifdef LUAX_ENABLE_PLAIN_CLASS
+
int LuaxPlainClass::registry(lua_State* L)
{
LUAX_STATE(L);
@@ -188,4 +190,6 @@ namespace Luax
return 1;
}
+#endif /*LUAX_ENABLE_PLAIN_CLASS*/
+
} \ No newline at end of file