11 messages in net.java.dev.jna.usersRe: [jna-users] Re: Structure Order
FromSent OnAttachments
Nicolas VienneJan 10, 2008 2:15 am 
Albert StrasheimJan 10, 2008 2:32 am 
Nicolas VienneJan 10, 2008 2:56 am 
Albert StrasheimJan 10, 2008 3:02 am 
Albert StrasheimJan 10, 2008 3:08 am 
Timothy WallJan 12, 2008 10:49 am 
Nicolas VienneJan 17, 2008 3:45 am 
Albert StrasheimJan 17, 2008 3:48 am 
Timothy WallJan 17, 2008 5:15 am 
Nicolas VienneJan 17, 2008 5:53 am 
Nicolas VienneJan 17, 2008 5:56 am 
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] Re: Structure OrderActions...
From:Albert Strasheim (full@gmail.com)
Date:Jan 17, 2008 3:48:32 am
List:net.java.dev.jna.users

Hello,

Around the same subject, I've slightly modified the JNA source to gain a better control on the field order by using Java annotations. I mean that in a class extending Structure, I can choose which fields will be taken into account for the mapping and in which order. I just noticed that a new version was available, but anyway if someone is interested I may post the changes.

This is a pretty cool idea. This can prevent some problems that could be caused by code cleanup features in IDEs like Eclipse (the "Sort Members" feature comes to mind).

Cheers,

Albert