weixin_39620653 2020-11-22 02:50
浏览 0

Investigate JNA direct mapping

For performance improvements.

该提问来源于开源项目:caprica/vlcj

  • 写回答

7条回答 默认 最新

  • weixin_39620653 2020-11-22 02:50
    关注

    Direct mapping seems quite easy to implement and seems to work.

    Only thing not supported that vlcj uses is String[] as a native method parameter (e.g. for libvlc_new).

    Cases such as that (there are I think 5 of them) can just fall-back to the interface-style binding for those functions only. Or there may be a JNA solution for that.

    评论

报告相同问题?