10 messages in net.java.dev.jna.usersRe: [jna-users] Problem with Structur...
FromSent OnAttachments
Rob CopeSep 13, 2007 9:22 pm 
Rob CopeSep 13, 2007 9:36 pm 
Rob CopeSep 13, 2007 9:37 pm 
Rob CopeSep 13, 2007 9:59 pm 
Timothy WallSep 14, 2007 4:50 am 
Timothy WallSep 14, 2007 4:58 am 
Rob CopeSep 14, 2007 8:17 am 
Rob CopeSep 14, 2007 9:17 am 
Timothy WallSep 14, 2007 9:27 am 
Rob CopeSep 14, 2007 7:19 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] Problem with Structure[] field in StructureActions...
From:Rob Cope (rwco@comcast.net)
Date:Sep 14, 2007 8:17:33 am
List:net.java.dev.jna.users

On Sep 14, 2007, at 7:58 AM, Timothy Wall wrote:

Pointer[] is technically a primitive (native) type, and should be allowed. It's an oversight that it is not; I'll make sure it gets enabled. Come to think of it, any array of NativeMapped should be supported.

Keep in mind that any Structure within a Structure is inlined (i.e. the memory for the inner structure is contiguous with the outer). If you want the structure's address, you have to explicitly use a Pointer.

Could you please enter an issue for supporting Pointer[] so this gets properly tracked?

Thanks. I just entered it, so it is in there as issue #41.

Rob