// DECL: bool isZero() const; value hx_Vector3_isZero(value thisObj) { Vector3 *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->isZero()); }
// DECL: inline bool isCursorVisible(); value hx_Game_isCursorVisible(value thisObj) { Game *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->isCursorVisible()); }
// DECL: inline bool isMouseCaptured(); value hx_Game_isMouseCaptured(value thisObj) { Game *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->isMouseCaptured()); }
/** sys_exit : int -> void <doc>Exit with the given errorcode. Never returns.</doc> **/ static value sys_exit( value ecode ) { val_check(ecode,int); exit(val_int(ecode)); return alloc_bool(true); }
// DECL: inline bool canExit() const; value hx_Game_canExit(value thisObj) { Game *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->canExit()); }
value lime_window_set_minimized (value window, value fullscreen) { Window* targetWindow = (Window*)(intptr_t)val_float (window); return alloc_bool (targetWindow->SetMinimized (val_bool (fullscreen))); }
// DECL: static bool isEnabled(Level level); value hx_Logger_static_isEnabled(value level) { Logger::Level _level; ValueToEnum(level, _level); return alloc_bool(Logger::isEnabled(_level)); }
value box2d_b2world_get_warm_starting (value handle) { return alloc_bool(((b2World*)val_data(handle))->GetWarmStarting()); }
value box2d_b2vec2_is_valid (value handle) { return alloc_bool(((b2Vec2*)val_data(handle))->IsValid()); }
value box2d_b2world_get_is_locked (value handle) { return alloc_bool(((b2World*)val_data(handle))->IsLocked()); }
value box2d_b2world_get_sub_stepping (value handle) { return alloc_bool(((b2World*)val_data(handle))->GetSubStepping()); }
value box2d_b2world_get_continuous_physics (value handle) { return alloc_bool(((b2World*)val_data(handle))->GetContinuousPhysics()); }
static value HypPlayServices_set_datas_callback_multiplayers( value onCall ){ eval_onDatas_multi = new AutoGCRoot( onCall ); return alloc_bool( true ); }
static value HypPlayServices_set_event_callback( value onCall ){ eval_onEvent = new AutoGCRoot( onCall ); return alloc_bool( true ); }
// DECL: inline bool isRelative() const; value hx_Joystick_isRelative(value thisObj) { Joystick *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->isRelative()); }
value box2d_b2world_get_allow_sleeping (value handle) { return alloc_bool(((b2World*)val_data(handle))->GetAllowSleeping()); }
value lime_window_get_enable_text_events (value window) { Window* targetWindow = (Window*)(intptr_t)val_float (window); return alloc_bool (targetWindow->GetEnableTextEvents ()); }
value box2d_b2world_get_auto_clear_forces (value handle) { return alloc_bool(((b2World*)val_data(handle))->GetAutoClearForces()); }
value lime_application_update (value application) { Application* app = (Application*)(intptr_t)val_float (application); return alloc_bool (app->Update ()); }
static value hypsystem_networkinterface_isWifi() { bool isWifi = networkinfos::isWifi(); return alloc_bool(isWifi); }
/** file_eof : 'file -> bool <doc>Tell if we have reached the end of the file</doc> **/ static value file_eof( value o ) { val_check_kind(o,k_file); return alloc_bool( feof(val_file(o)->io) ); }
static value hypsystem_device_isTablet() { bool isTablet = device::isTablet(); return alloc_bool(isTablet); }
/** file_exists : string -> bool <doc>Deprecated : use sys_exists instead.</doc> **/ static value file_exists( value path ) { gc_enter_blocking(); bool result = sys_exists(path); gc_exit_blocking(); return alloc_bool(result); }
static value hypsystem_setEventListener(value fListener) { fOnEventListener = new AutoGCRoot(fListener); return alloc_bool(true); }
// DECL: inline bool hasMouse(); value hx_Game_hasMouse(value thisObj) { Game *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->hasMouse()); }
static value hypsystem_networkinterface_isConnected() { return alloc_bool(networkinfos::isConnected()); }
// DECL: inline bool isInitialized() const; value hx_Game_isInitialized(value thisObj) { Game *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->isInitialized()); }
// DECL: bool isSteerable() const; value hx_PhysicsVehicleWheel_isSteerable(value thisObj) { PhysicsVehicleWheel *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->isSteerable()); }
// DECL: inline bool isMultiTouch() const; value hx_Game_isMultiTouch(value thisObj) { Game *_thisObj; ValueToObject(thisObj, _thisObj); return alloc_bool(_thisObj->isMultiTouch()); }
value nme_get_s3d_supported() { return alloc_bool(false); }