N
AME
set_init_callback
- set function to call att clone()
S
YNTAX
#include "program.h"
void set_init_callback(void (*init)(struct object *)
fun
);
D
ESCRIPTION
This function sets what function will be called when someone clones the struct program your are building. This function is mainly for initializing the fp->current_storage region. The initalizer function will be called with the newly cloned object as argument.
K
EYWORDS
program
S
EE
A
LSO
start_new_program
and
set_exit_callback