2 messages in net.java.dev.jna.usersmapping simple (i think) c struct
FromSent OnAttachments
Paul MooreMar 31, 2008 12:43 pm 
Timothy WallMar 31, 2008 12:50 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:mapping simple (i think) c structActions...
From:Paul Moore (paul@centrify.com)
Date:Mar 31, 2008 12:43:04 pm
List:net.java.dev.jna.users

struct data { size_t len; void * buff; }

I cant work out how to declare this as an input param (and I will probably have the same iss for out params too) the void * points to a raw byte buffer. saying byte[] gets the data passed inline, not as a pointer.