Skip to content

Commit

Permalink
Replace dots by slashs in JNI package
Browse files Browse the repository at this point in the history
  • Loading branch information
shoebox committed Mar 7, 2014
1 parent 7b9d051 commit 45be576
Show file tree
Hide file tree
Showing 2 changed files with 4 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.2",
"releasenote": "@iOS meta",
"version": "1.0.3",
"releasenote": "Replace dot by slash in JNI package name",
"contributors": ["shoebox"]
}
2 changes: 2 additions & 0 deletions src/org/shoebox/macros/MacroMirrors.hx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ class MacroMirrors{
*/
static private function _jni( oField : Field , sPackage : String , ?sName : String ) : Field{

sPackage = sPackage.split(".").join("/");

//The function
var f : Function = _getFunc( oField );
if(f.ret == null)
Expand Down

0 comments on commit 45be576

Please sign in to comment.