Branch: Tag:

1999-04-12

1999-04-12 02:24:19 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

atexit() and weak arrays implemented

Rev: src/array.c:1.46
Rev: src/array.h:1.17
Rev: src/builtin_functions.c:1.166
Rev: src/encode.c:1.31
Rev: src/main.c:1.70
Rev: src/object.c:1.70
Rev: src/signal_handler.c:1.123
Rev: src/signal_handler.h:1.7

5:   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.69 1999/04/08 23:54:29 hubbe Exp $"); + RCSID("$Id: main.c,v 1.70 1999/04/12 02:24:15 hubbe Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"
505:      void exit_main(void)   { + #ifdef DO_PIKE_CLEANUP    cleanup_objects(); -  + #endif   }      void init_main(void)
514:      void low_exit_main(void)   { + #ifdef DO_PIKE_CLEANUP    void cleanup_added_efuns(void);    void cleanup_pike_types(void);    void cleanup_program(void);
611:   #endif       really_clean_up_interpret(); - #ifdef DO_PIKE_CLEANUP +     cleanup_callbacks();    free_all_callable_blocks();    exit_destroy_called_mark_hash();   #endif   }