It's certainly possible. Someone with a good grasp of SWIG could
probably rig their parser to output JNA interfaces without too much
trouble. There are other parser/generators available, but SWIG is the
only one I've looked at in depth.
It's just that for me, the cost of learning the SWIG parser/generator
far outweighs the cost of doing a few function mappings at a time.
It might be worth it if you needed to map a really large code base, or
one that is often being changed (like ffmpeg, for instance).
On Oct 31, 2008, at 9:08 AM, Kunal Shah wrote:
But is it possible and up to what % we can auto generate?
On Fri, Oct 31, 2008 at 6:48 AM, Timothy Wall
<twal...@dev.java.net> wrote:
not that I'm aware of.
On Oct 31, 2008, at 5:51 AM, SeB wrote:
Hello all,
I have seen in the todo list there is a plan to develop a tool to
convert C header files into jna compatible java source.
I would like to know if there is something going on in this domain ?
Thanks for your answer.
SeB.