11 messages in net.java.dev.jna.users[jna-users] single argument / multipl...
FromSent OnAttachments
Albert KuruczJun 25, 2009 9:28 am 
Timothy WallJun 25, 2009 10:43 am 
Albert KuruczJun 25, 2009 12:01 pm 
Timothy WallJun 25, 2009 12:17 pm 
LYou...@gkservices.comJun 25, 2009 12:56 pm 
Albert KuruczJun 25, 2009 1:19 pm 
Timothy WallJun 25, 2009 2:22 pm 
Albert KuruczJun 25, 2009 2:29 pm 
LYou...@gkservices.comJun 25, 2009 2:34 pm 
LYou...@gkservices.comJun 25, 2009 2:49 pm 
Albert KuruczJun 25, 2009 3:17 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:[jna-users] single argument / multiple arguments - Array or not arrayActions...
From:Albert Kurucz (albe@gmail.com)
Date:Jun 25, 2009 9:28:05 am
List:net.java.dev.jna.users

There is something not practical in: com.sun.jna.Function In case when I am invoking a function with a single argument, I should not need to convert my Object to an Array.

For example instead of having this function: int invokeInt(Object[] args)

we should have: int invokeInt(Object arg)

Which function should be able to handle correctly the Array and non-Array types also. It should also be able to handle a Collection type (similarly to Arrays), but that is not that much important.

Do you agree?