|
> what happened to lua_pushupvalues() ? That was compatibility code. Do you really need it? > What is the supported way of doing this now? for (i = 1; lua_type(L, lua_upvalueindex(i)) != LUA_TNONE; i++) { luaL_checkstack(L, 1, ""); lua_pushvalue(L, lua_upvalueindex(i)); } -- Roberto