lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


If I have code like

lua_State* L= lua_create()
lua_State* L1 = lua_newthread(L1);
 ...
lua_replace(L1, LUA_GLOBALSINDEX);

Does this replace LUA_GLOBALSINDEX in the main thread(L) as well?


David B.