/* try to convert a value to an integer, rounding according to 'mode', without string coercion. ("Fast track" handled by macro 'tointegerns'.)  */
int luaV_tointegerns(const TValue *obj, lua_Integer *p, F2Imod mode)
/* try to convert a value to an integer, rounding according to 'mode', without string coercion. ("Fast track" handled by macro 'tointegerns'.)  */
int luaV_tointegerns(const TValue *obj, lua_Integer *p, F2Imod mode)
{
    *p = ivalue(obj);
    return 1;
  }
  else
    return 0;
}