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:
@@ -1,7 +1,7 @@
|
||||
package flash.security;
|
||||
|
||||
@:native("flash.security.ReferencesValidationSetting")
|
||||
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract ReferencesValidationSetting(String)
|
||||
#if (haxe_ver >= 4.0) extern #else @:extern #end enum abstract ReferencesValidationSetting(String)
|
||||
{
|
||||
var NEVER;
|
||||
var VALID_IDENTITY;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package flash.security;
|
||||
|
||||
@:native("flash.security.RevocationCheckSettings")
|
||||
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract RevocationCheckSettings(String)
|
||||
#if (haxe_ver >= 4.0) extern #else @:extern #end enum abstract RevocationCheckSettings(String)
|
||||
{
|
||||
var ALWAYS_REQUIRED;
|
||||
var BEST_EFFORT;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package flash.security;
|
||||
|
||||
@:native("flash.security.SignatureStatus")
|
||||
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SignatureStatus(String)
|
||||
#if (haxe_ver >= 4.0) extern #else @:extern #end enum abstract SignatureStatus(String)
|
||||
{
|
||||
var INVALID;
|
||||
var UNKNOWN;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
package flash.security;
|
||||
|
||||
@:native("flash.security.SignerTrustSettings")
|
||||
#if (haxe_ver >= 4.0) extern enum #else @:extern @:enum #end abstract SignerTrustSettings(String)
|
||||
#if (haxe_ver >= 4.0) extern #else @:extern #end enum abstract SignerTrustSettings(String)
|
||||
{
|
||||
var CODE_SIGNING;
|
||||
var PLAYLIST_SIGNING;
|
||||
|
||||
Reference in New Issue
Block a user