Replace @:fakeEnum with @:enum abstract

@:fakeEnum support will be removed in HaxeFoundation/haxe#8189
This commit is contained in:
Jens Fischer
2019-04-20 01:00:03 +02:00
committed by Joshua Granick
parent d01f84ffbf
commit af9367b199
34 changed files with 216 additions and 182 deletions

View File

@@ -1,14 +1,15 @@
package flash.display3D;
@:fakeEnum(String) extern enum Context3DProfile
@:native("flash.display3D.Context3DProfile")
@:enum extern abstract Context3DProfile(String)
{
BASELINE;
BASELINE_CONSTRAINED;
BASELINE_EXTENDED;
STANDARD;
STANDARD_CONSTRAINED;
STANDARD_EXTENDED;
var BASELINE;
var BASELINE_CONSTRAINED;
var BASELINE_EXTENDED;
var STANDARD;
var STANDARD_CONSTRAINED;
var STANDARD_EXTENDED;
#if air
ENHANCED;
var ENHANCED;
#end
}