double pointers were casted to the dtat types.
ttisnumber has gone to lua_TValue::is_number