Branch: Tag:

1996-06-20

1996-06-20 16:12:20 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

new callback stuff

Rev: src/builtin_efuns.c:1.19
Rev: src/callback.c:1.2
Rev: src/callback.h:1.2
Rev: src/main.c:1.6

48:   int a_flag=0;   int l_flag=0;    - static struct callback_list *post_master_callbacks =0; + static struct callback *post_master_callbacks =0;    - struct callback_list *add_post_master_callback(struct array *a) + struct callback *add_post_master_callback(callback call, +  void *arg, +  callback free_func)   { -  return add_to_callback_list(&post_master_callbacks, a); +  return add_to_callback_list(&post_master_callbacks, call, arg, free_func);   }      
166:       init_modules_efuns();    master(); -  call_and_free_callback_list(& post_master_callbacks); +  call_callback(& post_master_callbacks); +  free_callback(& post_master_callbacks);    init_modules_programs();       a=allocate_array_no_init(argc-e,0);