AIR externs: Haxe 3 compatibility on :extern :enum abstracts

This commit is contained in:
Josh Tynjala
2023-08-14 13:24:02 -07:00
parent b6cfc7d812
commit 42ae523188
34 changed files with 182 additions and 182 deletions

View File

@@ -1,8 +1,8 @@
package flash.desktop;
@:native("flash.desktop.SystemIdleMode")
#if (haxe_ver >= 4.0) extern #else @:extern #end enum abstract SystemIdleMode(String)
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SystemIdleMode(String)
{
var KEEP_AWAKE;
var NORMAL;
var KEEP_AWAKE = "keepAwake";
var NORMAL = "normal";
}