diff options
Diffstat (limited to 'source/3rd-party/Luax/luax_class.hpp')
-rw-r--r-- | source/3rd-party/Luax/luax_class.hpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/3rd-party/Luax/luax_class.hpp b/source/3rd-party/Luax/luax_class.hpp index 3d7ede6..af52b5f 100644 --- a/source/3rd-party/Luax/luax_class.hpp +++ b/source/3rd-party/Luax/luax_class.hpp @@ -11,8 +11,6 @@ namespace Luax { -#define LUAX_DECL_METHOD(mtd) static int mtd(lua_State* L) - /// /// RegisterLuaxClass עķͳԱö١ȵclass table /// LuaxGetFactoryName ùͬʱעʱעΪsingletonͨʱ @@ -35,6 +33,10 @@ namespace Luax static const char* GetLuaxClassName() { return #type; }; \ static bool IsLuaxClassSingleton() { return true; }; +#define LUAX_DECL_METHOD(mtd) static int mtd(lua_State* L) + +#define LUAX_DECL_ENUM(e) + /// /// ʵֵĺꡣһL /// @@ -106,6 +108,7 @@ namespace Luax /// /// userdata pushջûгʼmUserdataʼúԪѳʼõuserdataջһá + /// һnativeȨƽluaƵķ /// bool PushLuaxUserdata(LuaxState& state); bool PushLuaxMemberTable(LuaxState& state); |