[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Documentation: lua_getiuservalue
- From: Sebastian Steinhauer <s.steinhauer@...>
- Date: Fri, 18 Dec 2020 07:57:49 +0100
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