SIMPLE-FREE (FUNC-FP TYPE)
An explicit cleanup method. When freed, `GC-P` will be NIL.
Returns `T if the foreign object was previously deleted using `FREE`.
SETFGC-P (VALUE FOREIGN-OBJECT)
Enables or disables finalization.
Returns the foreign object reference. This method may not be redefined by a subclass.
Returns the foreign object reference.
Returns `T` if the foreign object will be finalized.
A wrapper around the foreign object stored in `FP`. Finalizes the foreign object using the function in `:FREE` when `GC-P` is `T` when the wrapper is garbage collected. The foreign object is explicitely freed by calling `FREE`.