1

是否有从项目jnr-ffi的头文件生成 java 代码的工具。我要为一个 C 项目提供一个 API 大约。1200 个功能。

4

2 回答 2

0

Oracle is thinking about integrating a similar thing into the JVM (Project Panama). And they talk about a generator tool, see here Devoxx Belgium 2016: Java Language and Platform Futures: A Sneak Peek by Brian Goetz. But this may take a while.

于 2016-11-20T09:11:43.157 回答
0

不幸的是,没有这样的工具。但这是开发它的一个理由。

于 2016-10-13T04:50:33.767 回答