
jnaerator
<wiki:gadget url="http://jnaerator.googlecode.com/svn/wiki/adsense468x60.xml" border="0" width="468" height="60" />
JNAerator : bring native libs to Java
Moving to http://github.com/nativelibs4java/JNAerator'>github.com/nativelibs4java/JNAerator
JNAerator (pronounce ‘generator’) simply parses C / C++ & Objective-C headers and generates the corresponding BridJ, JNA and Rococoa Java interfaces.
This lets Java programmers access native libraries transparently, with full IDE support and little to no hand-tweaking.
Users who are looking for ready-to-use libraries should check the NativeLibs4Java project.
Just. Forget. JNI.
It can be used in command line or through its handy but limited GUI :
JNAeratorStudio (direct Web Start Link)Features
(see Roadmap for planned features)
- Parses C, C++, Objective-C headers :
- C preprocessor syntax (using Anarres JCPP)
- GCC and Microsoft VC++ syntax extensions
- structs, unions and classes
- functions, callbacks and methods
- typedefs, constants, enums and global variables...
- Beware : STL and Boost are still (very) glitchy
- Creates the following wrappers
- C / C++ wrappers for BridJ
- C wrappers for JNA (including for the experimental direct mode)
- Objective-C wrappers for Rococoa (including protocols, BridgeSupport files)
- Parses Visual Studio solutions and knows about standard compilers and include paths
- Retains original comments and converts them to JavaDocs
Quick Start
Take a look at the Documentation...
Then launch JNAeratorStudio (direct Web Start Link) and start converting your C/Objective-C headers straight away !
News, Announcements, Discussions
News and announcements are made on the author's blog.
Discussions and support take place on JNA's users mailing list or on NativeLibs4Java's mailing list.
Bug reports and requests for enhancements should be filed in the Issues section.
Credits and License
JNAerator is written and maintained by Olivier Chafik and is distributed under the terms of the LGPL license, but it relies on many great thirdparty libraries.
Please read the CreditsAndLicense page for detailed Copyright notices and licenses.
Project Information
- License: GNU Lesser GPL
- 238 stars
- svn-based source control
Labels:
Java
JNA
Rococoa
Parser
Generator
C
Objective-C
Interoperability
Native
JNI
CPlusPlus