JNAerator 0.11 發布,透明的訪問系統原生庫

jopen 13年前發布 | 13K 次閱讀 JNAerator

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

通過Java Web Start試用JNAerator, 或 下 載!

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!