N
AME
set_exit_callback
- set function to call att destruct()
S
YNTAX
#include "program.h"
void set_exit_callback(void (*exit)(struct object *)
fun
);
D
ESCRIPTION
This function sets what function will be called when an object cloned from your program is destructed. This function is mainly for de-initializing the fp->current_storage region. The function will be called with the object about to be destructed as argument.
K
EYWORDS
program
S
EE
A
LSO
start_new_program
and
set_init_callback