JNAerator 0.11 发布,透明的访问系统原生库
jopen 12年前
JNAerator (licensed under LGPL 3.0) 让Java程序员透明访问系统原生库,使用一个Runtime比如 BridJ (C / C++, BSD-license), JNA (C only, LGPL) 或 Rococoa (Objective-C)。
通常情况下,这个新版本包含大量的关键修补程序,所以我们强烈建议所有JNAerator用户迁移到这个新的版本。
以下是 version 0.10 与 0.11 版本之间重要的变化(查看full change log here):
- Fixed infinite loops in simple typedefs (issue #288)
- Fixed some -beautifyNames cases (issue #315)
- Fixed parsing of some C++ templates (including template constructors)
- Fixed “long long” regression
- Fixed JNAeratorMojo.config documentation (issue #330)
- Fixed long / long long / short pointer function return types
- Fixed generation of BridJ C++ constructors
- Fixed enum names that collide with Java identifiers (issue #334)
- Added a type definition override switch, useful force mismatching 32/64bits types to some predefined types (for instance, -TmyVal=intptr_t)
- Added raw bindings generation for BridJ
- Added parsing of ‘using’ C++ statements
- Added TypeRef.resolvedJavaIdentifier
- Added parser support for `complex double` (cf. complex.h)
- Added test for BridJ raw signatures
- Moved to ECJ 3.7.2
- Moved to JNA 3.4.0
- Refactored type resolution and conversion
- Rationalized CompilerUtils classpath + bootclasspath