Skip to content

mumumusuc/gdx-jnigen

 
 

Repository files navigation

gdx-jnigen

Build Status

The gdx-jnigen tool can be used with or without libgdx to allow C/C++ code to be written inline with Java source code.

This increases the locality of code that conceptually belongs together (the Java native class methods and the actual implementation) and makes refactoring a lot easier compared to the usual JNI workflow. Arrays and direct buffers are converted for you, further reducing boilerplate. Building the natives for Windows, Linux, OS X, and Android and iOS is handled for you. jnigen also provides a mechanism for loading native libraries from a JAR at runtime, which avoids "java.library.path" troubles.

See the LibGDX Wiki for usage: https://github.com/libgdx/libgdx/wiki/jnigen

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Java 42.9%
  • C 36.6%
  • C++ 19.8%
  • Objective-C 0.7%