Function
fli
free-foreign-object pointer => null-pointer
A pointer to the object to de-allocate.
A pointer with address zero.
free-foreign-object function deallocates the space in memory pointed to by pointer, which frees the memory for other uses. The address of pointer is the start of a block of memory previously allocated byallocate-foreign-object. free-foreign-object takes no action. allocate-foreign-object. The functionfree-foreign-object is then used to free up the memory used by the boolean. (fli:define-c-typedef BOOL (:boolean :int)) (setq point (fli:allocate-foreign-object :type 'BOOL)) (fli:free-foreign-object point)
allocate-foreign-object