uplev xlua
This commit is contained in:
4
Assets/XLua/Src/LuaEnv.cs
Executable file → Normal file
4
Assets/XLua/Src/LuaEnv.cs
Executable file → Normal file
@@ -71,8 +71,8 @@ namespace XLua
|
||||
|
||||
#if THREAD_SAFE || HOTFIX_ENABLE
|
||||
lock(luaEnvLock)
|
||||
{
|
||||
#endif
|
||||
{
|
||||
LuaIndexes.LUA_REGISTRYINDEX = LuaAPI.xlua_get_registry_index();
|
||||
#if GEN_CODE_MINIMIZE
|
||||
LuaAPI.xlua_set_csharp_wrapper_caller(InternalGlobals.CSharpWrapperCallerPtr);
|
||||
@@ -184,9 +184,7 @@ namespace XLua
|
||||
translator.CreateArrayMetatable(rawL);
|
||||
translator.CreateDelegateMetatable(rawL);
|
||||
translator.CreateEnumerablePairs(rawL);
|
||||
#if THREAD_SAFE || HOTFIX_ENABLE
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
private static List<Action<LuaEnv, ObjectTranslator>> initers = null;
|
||||
|
||||
Reference in New Issue
Block a user