Menu

Commit [r2514]  Maximize  Restore  History

Split the external LWJGL version from the internal version of the native JNI library. The internal JNI version is now an integer. This has multiple advantages over the old way:

1. The JNI_VERSION field is now included automatically in the generated JNI headers, relieving us of the burden of updating the version number in both java and native code.
2. We can update the JNI version with every non-compatible change of the JNI library API, not just once per release, giving us extra safety when users download and build LWJGL from SVN.
3. We can now avoid rebuilding natives if a particular release only
contains java changes. Currently, This is mostly a problem when Brian bumps the
external version prior a release and I forget to re-build the natives ;)

elias_naur 2006-07-14

changed /trunk/LWJGL/src/java/org/lwjgl/DefaultSysImplementation.java
changed /trunk/LWJGL/src/java/org/lwjgl/Sys.java
changed /trunk/LWJGL/src/java/org/lwjgl/SysImplementation.java
changed /trunk/LWJGL/src/native/common/common_tools.c
/trunk/LWJGL/src/java/org/lwjgl/DefaultSysImplementation.java Diff Switch to side-by-side view
Loading...
/trunk/LWJGL/src/java/org/lwjgl/Sys.java Diff Switch to side-by-side view
Loading...
/trunk/LWJGL/src/java/org/lwjgl/SysImplementation.java Diff Switch to side-by-side view
Loading...
/trunk/LWJGL/src/native/common/common_tools.c Diff Switch to side-by-side view
Loading...
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.