pike.git / src / main.c

version» Context lines:

pike.git/src/main.c:1:   /*\   ||| This file a part of Pike, and is copyright by Fredrik Hubinette   ||| Pike is distributed as GPL (General Public License)   ||| See the files COPYING and DISCLAIMER for more information.   \*/   /**/   #include "global.h" - RCSID("$Id: main.c,v 1.138 2001/12/10 02:08:15 mast Exp $"); + RCSID("$Id: main.c,v 1.139 2001/12/14 04:10:20 nilsson Exp $");   #include "fdlib.h"   #include "backend.h"   #include "module.h"   #include "object.h"   #include "language.h"   #include "lex.h"   #include "pike_types.h"   #include "builtin_functions.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/main.c:26:   #include "gc.h"   #include "multiset.h"   #include "mapping.h"   #include "cpp.h"   #include "main.h"   #include "operators.h"   #include "rbtree.h"   #include "security.h"   #include "constants.h"   #include "version.h" + #include "program.h"    -  + #ifdef AUTO_BIGNUM + #include "bignum.h" + #endif +    #if defined(__linux__) && defined(HAVE_DLOPEN) && defined(HAVE_DLFCN_H)   #include <dlfcn.h>   #endif      #include "las.h"      #include <errno.h>      #ifdef HAVE_LOCALE_H   #include <locale.h>
pike.git/src/main.c:749: Inside #if defined(PIKE_DEBUG)
   /* For profiling */    exit_lex();   #endif       exit(num);   }         void low_init_main(void)   { -  void init_builtin(void); +     void init_iterators(void);       init_backend();    init_iterators();    init_pike_searching();    init_error();    init_pike_security();    th_init();    init_operators();   
pike.git/src/main.c:781:   #endif   }      void init_main(void)   {   }      void low_exit_main(void)   {   #ifdef DO_PIKE_CLEANUP -  void cleanup_added_efuns(void); -  void cleanup_pike_types(void); -  void cleanup_program(void); -  void cleanup_compiler(void); -  void free_all_mapping_blocks(void); -  void free_all_object_blocks(void); -  void free_all_program_blocks(void); -  void exit_builtin(void); +     void exit_iterators(void); -  void exit_backend(void); -  void cleanup_pike_type_table(void); -  void destruct_objects_to_destruct_cb(void); +       #ifdef AUTO_BIGNUM -  void exit_auto_bignum(void); +     exit_auto_bignum();   #endif       exit_pike_searching();    th_cleanup();    exit_object();    exit_dynamic_load();    exit_signals();    exit_builtin();    exit_cpp();
pike.git/src/main.c:948:    free_all_mapping_blocks();    first_object=0;    free_all_object_blocks();    first_program=0;    free_all_program_blocks();   #ifdef PIKE_NEW_MULTISETS    exit_multiset();   #endif   #endif   } -  -  +