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
10 lines
199 B
Haxe
10 lines
199 B
Haxe
package flash.security;
|
|
|
|
@:native("flash.security.SignatureStatus")
|
|
#if (haxe_ver >= 4.0) extern #else @:extern #end enum abstract SignatureStatus(String)
|
|
{
|
|
var INVALID;
|
|
var UNKNOWN;
|
|
var VALID;
|
|
}
|