Next: foreign-slot-offset, Previous: foreign-enum-value, Up: Foreign Types
The function foreign-slot-names
returns a potentially shared
list of slot names for the given structure type. This list
has no particular order.
(defcstruct timeval (tv-secs :long) (tv-usecs :long)) CFFI> (foreign-slot-names 'timeval) => (TV-SECS TV-USECS)
defcstruct
foreign-slot-offset
foreign-slot-value
foreign-slot-pointer