summaryrefslogtreecommitdiff
path: root/Source/3rdParty/Luax/luax.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-03-14 09:08:07 +0800
committerchai <chaifix@163.com>2019-03-14 09:08:07 +0800
commit8d8c4ff1664625e7428d0d31cd798d9321680cb2 (patch)
tree67af1dad8483ba1c886ae1bd00b9c664ee245385 /Source/3rdParty/Luax/luax.h
parent6016ece202eef94ed76bd20d4f7879ccc71cc2e6 (diff)
*luax
Diffstat (limited to 'Source/3rdParty/Luax/luax.h')
-rw-r--r--Source/3rdParty/Luax/luax.h49
1 files changed, 5 insertions, 44 deletions
diff --git a/Source/3rdParty/Luax/luax.h b/Source/3rdParty/Luax/luax.h
index f43fb26..58ea2c8 100644
--- a/Source/3rdParty/Luax/luax.h
+++ b/Source/3rdParty/Luax/luax.h
@@ -1,52 +1,13 @@
#ifndef __LUAX_H__
#define __LUAX_H__
-// moai-coreг
-
-// include lua.hpp before this
#include "luax_state.h"
-#include "luax_ref.h"
-#include "luax_class.h"
-#include "luax_module.h"
#include "luax_runtime.h"
+#include "luax_namespace.h"
+#include "luax_ref.h"
#include "luax_reftable.h"
+#include "luax_class.hpp"
+#include "luax_class.inl"
+#include "luax_state.inl"
-// luax չluaҪ
-// * modules
-// * class
-// *
-/*
-
-GetClassName
-GetClass
-New
-Extend
-GetInterfaceTable
-
-
-
-__index
-__newIndex
-__gc
-__mode
-__tostring
-
-
-
-ݳԱҪʣֵ͵õֵͨʵ֣__indexΪԪ
-
-ƿռͨʵ
-
-ͨupvalueʵֵߵķʣҪͨselfͨBaseClass.Extend("SubClass")BaseClassֲͬbase class
-BaseClassΪExtendupvaluecfunctionͨlua_upvalueindexupvalue
-
-֮ͨ.úΪԪԪԸuserdatatableΪԪuserdataԵãʵϲҪ
-
-interface table -> member table
-member table -> ref table
-ref table -> userdata ˶ÿ͵úühLuaUserdataΪkey)Ϊdebug
-
-class table ͵ı壨NewExtendGetClassName
-
-*/
#endif \ No newline at end of file