From dd886ff185bd19b00637331237aa725b0bb52df0 Mon Sep 17 00:00:00 2001 From: shoebox Date: Tue, 4 Mar 2014 16:42:22 +0100 Subject: [PATCH] @iOS metadata --- src/org/shoebox/macros/MacroMirrors.hx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/org/shoebox/macros/MacroMirrors.hx b/src/org/shoebox/macros/MacroMirrors.hx index c7f2192..955683f 100644 --- a/src/org/shoebox/macros/MacroMirrors.hx +++ b/src/org/shoebox/macros/MacroMirrors.hx @@ -51,7 +51,7 @@ class MacroMirrors{ * @return void */ static public function build( ) : Array{ - + //Fields var aFields : Array = Context.getBuildFields( ); var oClass : Null> = Context.getLocalClass( ); @@ -70,7 +70,7 @@ class MacroMirrors{ for( field in aFields.copy( ) ){ // - aMetas = [ for( m in field.meta ) if( m.name == "CPP" || m.name == "JNI" ) m ]; + aMetas = [ for( m in field.meta ) if( m.name == "CPP" || m.name == "JNI" || m.name == "IOS" ) m ]; // if( aMetas.length == 0 ) @@ -79,7 +79,6 @@ class MacroMirrors{ // for(m in aMetas) { - if(m.name == "CPP" && Context.defined("cpp")) { aFields.push( _cpp(