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_runtime.h | |
parent | 6016ece202eef94ed76bd20d4f7879ccc71cc2e6 (diff) |
*luax
Diffstat (limited to 'Source/3rdParty/Luax/luax_runtime.h')
-rw-r--r-- | Source/3rdParty/Luax/luax_runtime.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/3rdParty/Luax/luax_runtime.h b/Source/3rdParty/Luax/luax_runtime.h index 2414c2e..fe70580 100644 --- a/Source/3rdParty/Luax/luax_runtime.h +++ b/Source/3rdParty/Luax/luax_runtime.h @@ -60,12 +60,15 @@ namespace Luax static LuaxRuntime* mRuntime; /// - /// lua_stateҵcontext + /// lua_State handlecontextӳ /// std::map<lua_State*, Context> mContexts; }; +#define LUAX_RUNTIME() \ + LuaxRuntime& runtime = LuaxRuntime::Get() + } #endif
\ No newline at end of file |