Since Lua 5.3, inegers are supported.
But how can I do :
if type( 123 ) == "integer" then
end
Or
switch( lua_type( L, -1 ) )
{
case LUA_TINTEGER:
break;
}
Since type() is still going to return "number" for both integer and reals, and LUA_TINTEGER does not exist ?
Thanks.