Here are a few links to useful pieces of documentation for JNAerator :
- Simple example : SimpleMeaningfulExample.
- JNAerator's FAQ
- How JNAerator maps C/ObjectiveC to Java/JNA
- JNAerator's supported command line options and environment variables
- Trouble-shooting JNAeration
- How to store your command line options into files
Please note that JNAerator can operate in a very automated way and help you wrap a native library toto.h + toto.dll/libtoto.so as a self-contained JAR with auto-extractible binaries.