fix exchange of inline macro between Java and Ruby
Merge pull request #147 from mojavelinux/new-extension-api-updates

New extension api updates