lua-users home
lua-l archive

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


Hello,

I have just a small suggestion for enhancing the documentation for the lua_getiuservalue / lua_setiuservalue functions. The text states it will operate on the n-th value but it’s not mentioned if the counting starts at 1 or 0. Because it is Lua you can assume 1 and you can also check the compatibility macro lua_getuservalue to see that 1 is the first value. But it would be nice to have this explicitly in the documentation as well.

Thank you in advance

Sebastian