Function
fli
pointer-element-type pointer => type
An FLI pointer to a foreign object.
The type of the object pointed to by pointer.
pointer-element-type
returns the type of the foreign object pointed to by pointer. pointer-element-type
is used to confirm that the pointer points to an integer. (setq point (fli:allocate-foreign-object :type :int)) (fli:pointer-element-type point)
HAPPY
, is defined. The pointerpoint
is set to point to an instance ofHAPPY
, andpointer-element-type
is used to find the type of the object pointed to bypoint
. (fli:define-c-typedef HAPPY :long) (setq point (fli:allocate-foreign-object :type 'HAPPY)) (fli:pointer-element-type point)
foreign-slot-type
pointer-element-size