7 messages in net.java.dev.jna.usersRe: [jna-users] Can I use By-referenc...
FromSent OnAttachments
Albert KuruczJun 22, 2009 7:07 am 
Timothy WallJun 22, 2009 7:18 am 
Albert KuruczJun 22, 2009 7:45 am 
Timothy WallJun 22, 2009 8:16 am 
Albert KuruczJun 22, 2009 9:27 am 
Timothy WallJun 22, 2009 9:42 am 
Albert KuruczJun 22, 2009 10:09 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] Can I use By-reference argument with the experimental direct calling convention?Actions...
From:Timothy Wall (twal@dev.java.net)
Date:Jun 22, 2009 7:18:37 am
List:net.java.dev.jna.users

On Jun 22, 2009, at 10:08 AM, Albert Kurucz wrote:

Can I use By-reference argument with the experimental direct calling convention? If this is possible, examples please.

Complete documentation of mappings for both the direct and the conventional methods would be very useful. If there are differences, mapping types would really look nice in a table.

You can use a primitive array of length one, which has the same result.

Type mappings for interface and direct mapping are the same; direct mapping does not yet implement NativeMapped or TypeMapper conversions.

You'll get runtime errors if you attempt to use an unsupported argument type.