From 5e2a973516e0729b225da9de0b03015dc5854ac4 Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 18 Mar 2019 08:49:16 +0800 Subject: *luax --- Source/3rdParty/Luax/luax_class.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Source/3rdParty/Luax/luax_class.cpp') 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 -- cgit v1.1-26-g67d0