[UFFI-Users] Is get-slot-value guaranteed to be setf'able?
Kevin Rosenberg
kevin at rosenberg.net
Mon May 10 12:46:42 MDT 2004
rif wrote:
> If I have a structure, my natural inclination is to set fields in the
> structure using (setf (get-slot-value obj type field)). In CMUCL,
> this certainly works, because get-slot-value simply expands into a
> call to alien:slot, which is setf'able. My question is whether this
> is considered "portable" UFFI, and will work on all implementations
> which UFFI supports? If this is not portable, is there some other way
> I should be doing this?
Yes, it's portable across all UFFI-supported implementations.
> This should maybe be mentioned briefly on p. 15 of the manual?
That's a good idea.
--
Kevin Rosenberg
kevin at rosenberg.net
More information about the UFFI-Users
mailing list