pool_register_cleanup_fn - call function when pool is deleted |
#include <pool.h> void pool_register_cleanup_fn (pool, void (*fn) (void *), void *data); |
Register a function to be called when the pool is deleted. There is no way to unregister this function. If you wish to do that, then you probably want to register it in a subpool. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
c2lib-1.2.13 |