There's a contrib library in the distro, so you're welcome to add it
there when it's ready.
T.
On Aug 27, 2007, at 12:59 PM, Dennis Portello wrote:
Sweet! thank you!
I've worked up a nice POSIX library I've been using for Tomcat
process control on Linux. I'd like to share it at some point. We
haven't synced with the repository in a while.
-Dennis P.
On 8/27/07, Timothy Wall <twal...@dev.java.net> wrote: Just to
close this thread out, unions have been implemented on the
trunk.
On May 16, 2007, at 6:55 AM, Wayne Meissner wrote:
I've been looking at the Structure class to see if I could derive a
Union class from it. My C is a bit rusty these days, so I'm looking
for a nice challenge.
Unions are a bit tricky to implement properly in JNA. Although a
Union class could be implemented, where it maps each of its members
to the same memory area (basically the same as my example), there
is no way for JNA to know which one of those members holds the most
recently modified values that need to be written out to native
memory.