diff options
author | chai <chaifix@163.com> | 2019-03-14 09:08:07 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-03-14 09:08:07 +0800 |
commit | 8d8c4ff1664625e7428d0d31cd798d9321680cb2 (patch) | |
tree | 67af1dad8483ba1c886ae1bd00b9c664ee245385 /Source/3rdParty/Luax/luax_state.h | |
parent | 6016ece202eef94ed76bd20d4f7879ccc71cc2e6 (diff) |
*luax
Diffstat (limited to 'Source/3rdParty/Luax/luax_state.h')
-rw-r--r-- | Source/3rdParty/Luax/luax_state.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Source/3rdParty/Luax/luax_state.h b/Source/3rdParty/Luax/luax_state.h index 6a688b6..2b143f8 100644 --- a/Source/3rdParty/Luax/luax_state.h +++ b/Source/3rdParty/Luax/luax_state.h @@ -3,15 +3,13 @@ #include <string> -#include "lua.hpp" -#include "luax_reftable.h" #include "luax_config.h" +#include "luax_reftable.h" namespace Luax { class Context; - class LuaxClass; /// /// lua_StateĴ˱һlua_Stateòݡһʵmetatable£ @@ -109,6 +107,8 @@ namespace Luax void Settop(int idx); + template<typename T> T* GetLuaUserdata(int idx); + //------------------------------------------------------------------------------------------------------------ // õĹregister[LUAX_STRONG_REFTABLE]register[LUAX_WEAK_REFTABLE] @@ -157,8 +157,6 @@ namespace Luax }; -#include "luax_state.inl" - //-------------------------------------------------------------------------------------------------------------- // GetValue()ģػ |