diff options
Diffstat (limited to 'Source/3rdParty/Luax/luax_class.hpp')
-rw-r--r-- | Source/3rdParty/Luax/luax_class.hpp | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/Source/3rdParty/Luax/luax_class.hpp b/Source/3rdParty/Luax/luax_class.hpp index 6ce8d19..96124f0 100644 --- a/Source/3rdParty/Luax/luax_class.hpp +++ b/Source/3rdParty/Luax/luax_class.hpp @@ -19,6 +19,7 @@ namespace Luax #define LUAX_DECL_FACTORY(type) \ static void RegisterLuaxClass(LuaxState&);\ static void RegisterLuaxInterface(LuaxState&);\ + static void RegisterLuaxPostprocess(LuaxState&); \ static const char* GetLuaxFactoryName() { return #type; };\ static const char* GetLuaxClassName() { return #type; };\ static bool IsLuaxClassSingleton() { return false; }; @@ -134,17 +135,6 @@ namespace Luax }; - /// - /// ڳԱﴴLuaxStateԲм顣 - /// -#define LUAX_SETUP(L, params) \ - LuaxRuntime& runtime = LuaxRuntime::Get(); \ - LuaxState& state = runtime[L].state; \ - if(!state.CheckParams(1, params)) return 0 - -#define LUAX_STATE(L) \ - LuaxState& state = LuaxRuntime::Get().GetLuaxState(L) - } #endif
\ No newline at end of file |