summaryrefslogtreecommitdiff
path: root/Source/3rdParty/Luax/luax_class.cpp
diff options
context:
space:
mode:
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