[cffi-devel] Passing address of pointer
Luís Oliveira
luismbo at gmail.com
Fri Aug 26 11:41:41 UTC 2011
On Fri, Aug 26, 2011 at 12:13 PM, Martin Simmons <martin at 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/
More information about the cffi-devel
mailing list