[cffi-devel] Re: setf-expander of FOREIGN-SLOT-VALUE
Luis Oliveira
luismbo at gmail.com
Sat Sep 24 21:36:43 UTC 2005
Marco Gidde <marco.gidde at 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
More information about the cffi-devel
mailing list