lua-users home
lua-l archive

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


> Thank you, that simplifies the code. [...]

-     if (!lua_isnone(L, lua_upvalueindex(i))) {
+     if (0 < i <= 256 && !lua_isnone(L, lua_upvalueindex(i))) {


-- Roberto