Package: cffi
Macro with-foreign-slots
Lambda Listwith-foreign-slots ((vars ptr type) &body body) ArgumentsDetails The with-foreign-slots macro creates local symbol macros for each var
in vars to reference foreign slots in ptr of type. It is similar to Common Lisp's with-slots macro. Examples(defcstruct tm (sec :int) (min :int) (hour :int) (mday :int) (mon :int) (year :int) (wday :int) (yday :int) (isdst :boolean) (zone :string) (gmtoff :long)) | See also |