Am 26.08.2011 um 18:19 schrieb Liam Healy:
On Fri, Aug 26, 2011 at 7:41 AM, Luís Oliveira luismbo@gmail.com wrote: On Fri, Aug 26, 2011 at 12:13 PM, Martin Simmons martin@lispworks.com wrote:
I suspect the problem is the UUID argument, not the pointer.
CFUUIDBytes is a struct type, i.e. you need to pass the aggregate by value. IIRC, CFFI doesn't support that.
Correct. There's a work-in-progress integration of FSBV[1] into CFFI[2] that adds such support via libffi. [1] might be the most useful to Frank if he's in a hurry.
He is. ;-) But: I need both, CFFI and FSBV. So, how to do that ?
TIA!
Best wishes -
Frank