diff options
author | chai <chaifix@163.com> | 2019-03-18 00:17:41 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-18 00:17:41 +0800 |
commit | 9c0c9c9284b4cea07656a5e91eaf90adb961a38e (patch) | |
tree | c6bb935775691eb8ed8df88ef988391dfc725b43 /Source/3rdParty/Luax/luax_class.inl | |
parent | 8c047249a3d32f7e03f8bc0cae6861f4f388e3f4 (diff) |
*luax
Diffstat (limited to 'Source/3rdParty/Luax/luax_class.inl')
-rw-r--r-- | Source/3rdParty/Luax/luax_class.inl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/3rdParty/Luax/luax_class.inl b/Source/3rdParty/Luax/luax_class.inl index 48f1c1a..6f00a84 100644 --- a/Source/3rdParty/Luax/luax_class.inl +++ b/Source/3rdParty/Luax/luax_class.inl @@ -345,6 +345,8 @@ namespace Luax return 0; } +#ifdef LUAX_ENABLE_NATIVE_EXTEND + /// /// ࣬luaijԱΪƣDZ֤userdataͳһNative classṩCtor֧֣ /// nativeʵ崴ʹCtorгʼӵкͻһNewбnativeһ͡ @@ -447,6 +449,8 @@ namespace Luax return 1; } +#endif + template<typename T> int LuaxNativeClass<T>::l_GetClass(lua_State* L) { |