26 Aug
2011
26 Aug
'11
11:41 a.m.
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. Cheers, [1] http://repo.or.cz/w/fsbv.git [2] https://github.com/cffi/cffi/tree/fsbv -- Luís Oliveira http://r42.eu/~luis/