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
188 B
Haxe
10 lines
188 B
Haxe
package flash.printing;
|
|
|
|
@:native("flash.printing.PrintMethod")
|
|
#if (haxe_ver >= 4.0) extern #else @:extern #end enum abstract PrintMethod(String)
|
|
{
|
|
var AUTO;
|
|
var BITMAP;
|
|
var VECTOR;
|
|
}
|