[cffi-devel] Re: Main CFFI Darcs Tree

Hoehle, Joerg-Cyril Joerg-Cyril.Hoehle at t-systems.com
Fri Dec 23 11:43:25 UTC 2005


Luis Oliveira wrote;:
>I just edit the package's .asd file and make it :depend-on
>:cffi-uffi-compat instead of :uffi
On a Debian system, many packages are owned by root.
There's really a need for a ready-to-use uffi.asd that uses cffi-compat.

CFFI might also become a Debian package one day :)

> or, for instance, #-clisp :uffi
>#+clisp :cffi-uffi-compat (this is what's done in CL-GD).
Interesting switch. I once had cl-gd running with my uffi own wrappers, but there definitively is a problem in UFFI with nested structs vs. pointers to structs.
I think this is precisely why CFFI works better than UFFI with nested structs: since it's all pointers, a nested struct yields a pointer, similar to a pointer to a struct within the struct, so both are handled equally well.

Regards,
	Jörg Höhle



More information about the cffi-devel mailing list