diff options
author | chai <chaifix@163.com> | 2019-02-26 08:48:54 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-02-26 08:48:54 +0800 |
commit | 3f457498b9c39d40a16a0ec6328880854f8cf4de (patch) | |
tree | 061ef9974b4da4c472909a65e6ebd10e8156c1b3 /Source/3rdParty/Luax/luax_class.h | |
parent | 684f71790401727cc45f4dad1822ddae46305072 (diff) |
*misc
Diffstat (limited to 'Source/3rdParty/Luax/luax_class.h')
-rw-r--r-- | Source/3rdParty/Luax/luax_class.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/3rdParty/Luax/luax_class.h b/Source/3rdParty/Luax/luax_class.h index 46918af..1721ec4 100644 --- a/Source/3rdParty/Luax/luax_class.h +++ b/Source/3rdParty/Luax/luax_class.h @@ -6,18 +6,18 @@ namespace Luax { +#define LUAX_DECL_METHOD(MTD) static int MTD(lua_State*) +#define LUAX_DECL_FACTORY(CLS) static int RegisterLuaClass(lua_State*); +#define LUAX_DECL_SINGLETON(CLS) + +#define LUAX_REGISTER_CLASS(CLS) CLS::RegisterLuaType() + /* /// /// Ҫ¶luaclassҪ̳дࡣ /// class LuaxClass { public: - -#define LUAX_DECL_METHOD(MTD) static int MTD(lua_State*) -#define LUAX_DECL_FACTORY(CLS) -#define LUAX_DECL_SINGLETON(CLS) - -#define LUAX_REGISTER_CLASS(CLS) CLS::RegisterLuaType() static void RegisterLuaType(); @@ -46,7 +46,7 @@ namespace Luax private: }; - + */ } #endif
\ No newline at end of file |