Better Haxe 4.3 extern enum abstract

Previous attempt tried to use @:extern and @:enum for Haxe 3, but enum is fine for both, which is actually what we were using before. Keep @:extern for Haxe 3, but use enum for both
This commit is contained in:
Josh Tynjala
2023-06-05 15:56:26 -07:00
parent 0918ee2381
commit 9ca9c2e32c
34 changed files with 34 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
package flash.display;
@:native("flash.display.NativeWindowDisplayState")
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract NativeWindowDisplayState(String)
#if (haxe_ver >= 4.0) extern #else @:extern #end enum abstract NativeWindowDisplayState(String)
{
var MAXIMIZED;
var MINIMIZED;