next up previous contents
Next: start_new_program() Up: The C API Previous: set_init_callback()   Contents

set_exit_callback()

/*Prototype:*/
void set_exit_callback(void (*exit_callback)(struct object *));
set_exit_callback() sets the exit callback of a class. The example line of code sets the function exit_my_module() as the exit callback of the corresponding class.
/*Example of usage:*/
   set_exit_callback(exit_my_module);



2003-03-04