$Revision: 5.0.2.2 $
Package: EXCL
Arguments: nil
Returns a list whose entries each represent a C (or C-compatible) function to call before garbage collections of any kind. The typical declaration of the C function can be
int myafterhook(void);
The list entry itself must be an (unsigned-byte 32) array of at least 1 entry, and its first entry must be the address of the C function.
Setf can be used to store into the list.
A typical usage of this feature is
(let ((myaddr (ff:get-entry-point "myafterhook")))
(push (make-array 1 :element-type '(unsigned-byte 32)
:initial-element myaddr)
(excl:gc-after-c-hooks)))
No gc hooks are saved across dumplisps. All applications are responsible for re-establishing their own gc-after-c-hooks.
See gc.htm for general information on garbage collection. The general documentation description is in introduction.htm. The index is in index.htm.
Copyright (C) 1998-1999, Franz Inc., Berkeley, CA. All Rights Reserved.