New CFFI fails to load cl-cairo2-xlib

Attila Lendvai attila at lendvai.name
Tue Feb 2 11:23:00 UTC 2016


the error is in the struct accessors, they end up containing literal
FOREIGN-STRUCT-SLOT objects without a MAKE-LOAD-FORM.

i've added a test that exhibits this problem:

https://github.com/cffi/cffi/commit/4310a7a7d774af06a63df3a30183293ba08756f1

the fix is not trivial, i gave up.

i tried to make it expand into a form that looks up the struct and the
slot at load-time (in a MAKE-LOAD-FORM), but the slots don't know
about their structs, so i cannot walk up and then back down the
hierarchy.

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
Violation of consent is the foundation of all crime.
 Corollary 1: No victim? Then no crime.
 Corollary 2: The State is the most pervasive criminal gang known to man.



More information about the cffi-devel mailing list