summaryrefslogtreecommitdiff
path: root/Source/3rdParty/Luax/luax_class.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/3rdParty/Luax/luax_class.h')
-rw-r--r--Source/3rdParty/Luax/luax_class.h14
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