Skip to content

Commit

Permalink
iOS metadatas
Browse files Browse the repository at this point in the history
  • Loading branch information
shoebox committed Feb 28, 2014
1 parent 764973e commit 3e759e9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions haxelib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "BSD",
"tags": ["hyperfiction", "macro","shoebox","openfl"],
"description": "Essential macros for native extensions",
"version": "1.0.1",
"releasenote": "Initial release",
"version": "1.0.2",
"releasenote": "@iOS meta",
"contributors": ["shoebox"]
}
8 changes: 8 additions & 0 deletions src/org/shoebox/macros/MacroMirrors.hx
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@ class MacroMirrors{
( m.params.length > 1 ) ? _getString( m.params[ 1 ] ) : field.name
) );
}
else if( m.name == "IOS" && Context.defined("ios"))
{
aFields.push( _cpp(
field ,
( m.params.length > 0 ) ? _getString( m.params[ 0 ] ) : oClass.get( ).module,
( m.params.length > 1 ) ? _getString( m.params[ 1 ] ) : field.name
) );
}

}

Expand Down

0 comments on commit 3e759e9

Please sign in to comment.