Branch: Tag:

1996-12-03

1996-12-03 21:41:19 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

callbacks modified to handle recursive calls better

Rev: src/backend.c:1.7
Rev: src/builtin_functions.c:1.15
Rev: src/callback.c:1.3
Rev: src/callback.h:1.2
Rev: src/gc.h:1.5
Rev: src/interpret.c:1.15
Rev: src/interpret.h:1.5
Rev: src/main.c:1.12

4:   ||| See the files COPYING and DISCLAIMER for more information.   \*/   #include "global.h" - RCSID("$Id: builtin_functions.c,v 1.14 1996/12/02 07:02:25 hubbe Exp $"); + RCSID("$Id: builtin_functions.c,v 1.15 1996/12/03 21:41:15 hubbe Exp $");   #include "interpret.h"   #include "svalue.h"   #include "macros.h"
595:    throw();   }    - static struct callback *exit_callbacks=0; + static struct callback_list exit_callbacks;      struct callback *add_exit_callback(callback_func call,    void *arg,