I Timothy and all,
Having an automatic header converter would also be a time save in this forum
caus mainly most people ask question when they have conversion trouble.
My main interest for this converter would be that I must interact with
windows DLL from wich I have the headers file but not too much C knowledge.
I will also investigate the SWIG to java JNI generation because I do not
want to put my finger into C too much.
Thanks for your answers anyway.
SeB.
From: Timothy Wall <twal...@dev.java.net>
To: use...@jna.dev.java.net
Date: Fri, 31 Oct 2008 09:32:27 -0400
Subject: Re: [jna-users] Automatic C header converter
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).