public static int toluaL_ref_replace(IntPtr L) { lock (m_Lock) { int num = toluaL_ref(L); if (isHook) { LPLuaHook.HookRef(L, num, tolua_Getref_Fun); } return(num); } }
public static int luaL_ref_replace(IntPtr luaState, int t) { lock (m_Lock) { int num = LuaDLL.luaL_ref(luaState, t); if (isHook) { LPLuaHook.HookRef(luaState, num); } return(num); } }