Frees a foreign block that was allocated by Lisp, in LispWorks for Macintosh.
fli
free-foreign-block foreign-block
foreign-block⇩ |
A Lisp-allocated foreign-block-pointer. |
The function free-foreign-block
frees a foreign block that was allocated by Lisp.
foreign-block must be a result of a call to allocate-foreign-block. It is an error to call free-foreign-block
on the result of foreign-block-copy or on a foreign block coming from foreign code.
Note that the function that was passed to allocate-foreign-block may still be invoked after free-foreign-block
, because the block may have been copied. See the discussion in 5.7.3 Scope of invocation.
It is an error to call free-foreign-block
more than once on the same foreign-block.
free-foreign-block
has no useful return value.
free-foreign-block
is implemented in LispWorks for Macintosh only.
allocate-foreign-block
with-foreign-block
5.7 Block objects in C (foreign blocks)
Foreign Language Interface User Guide and Reference Manual - 01 Dec 2021 19:34:58