Package: cffi
Function foreign-slot-pointer
Lambda Listforeign-slot-pointer (ptr type slot-name) ArgumentsDetails Returns a pointer to the location of the slot slot-name in a foreign
object of type type at ptr. The returned pointer points inside the
structure. Both the pointer and the memory it points to have the same extent as ptr. For aggregate slots, this is the same value returned by foreign-slot-value. Examples(defcstruct point "Pointer structure." (x :int) (y :int)) | See also |