
Marco Gidde <marco.gidde@tiscali.de> writes:
The setf-expansion for nested FOREIGN-SLOT-VALUE calls ist not quite correct: [...] should do the job a bit better, though it might be optimized in some way (this is my first try to define a setf expander).
Thanks, I'll have a look at this tomorrow. I need to read define-setf-expander's docs, heh. /My/ first try to define a setf expander was mem-aref's and that was just by looking at mem-ref's expander.
Btw. the manual contains an example use of FOREIGN-SLOT-VALUE with the simplified syntax
(foreign-slot-value ptr 'struct 'slot-1 'slot-2)
I think CFFI has all the informations at hand to handle this, so will it be implemented one day?
Yes, one day. :-) -- Luis Oliveira luismbo (@) gmail (.) com Equipa Portuguesa do Translation Project http://www.iro.umontreal.ca/translation/registry.cgi?team=pt