> [BTW: Whatever Lua 5.2 or 6.0 may look like, but may I suggest
> redesigning or at least renaming the auto-coercive API calls?]
Only lua_tostring does auto-coercion. lua_tonumber (and lua_isnumber)
does not modify the original object (at the cost of performing the
conversion at every new call).
-- Roberto