5 messages in net.java.dev.jna.usersRe: [jna-users] Java Structure code g...
FromSent OnAttachments
ArgynSep 5, 2008 12:39 pm 
Paul LoySep 10, 2008 2:02 am 
Timothy WallSep 10, 2008 5:06 am 
ArgynSep 10, 2008 1:20 pm 
ArgynSep 10, 2008 1:23 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] Java Structure code generator from C++ .h filesActions...
From:Argyn (jawa@gmail.com)
Date:Sep 10, 2008 1:23:29 pm
List:net.java.dev.jna.users

i have just a couple of functions from API. However, they require sevral enormously large C structs as arguments. And the problem's that when a new version of library comes, I'd have to sync my JNA Structures with new structs :(

there really has to be an automated tool which would convert all C API into JNA classes. I think this one reason why people choose .NET. it's so easy to import libraries into it.

On Wed, Sep 10, 2008 at 8:06 AM, Timothy Wall <twal@dev.java.net> wrote:

Swig has a configurable parser/generator that might be suitable. I looked at it, but it was never worth the effort for my needs; it was always easier to write just the few functions I needed.

Some of the other Java/Native projects in the OTHERS file might also have configurable parser/generators.