pike.git / src / module.c

version» Context lines:

pike.git/src/module.c:46: Inside #if defined(TRACE_MAIN) || defined(TRACE_MODULE)
     #if defined(TRACE_MAIN) || defined(TRACE_MODULE)   #define TRACE(X) fprintf X   #else /* !TRACE_MAIN */   #define TRACE(X)   #endif /* TRACE_MAIN */      static void init_builtin_modules(void)   {    void init_iterators(void); - #ifdef WITH_FACETS -  void init_facetgroup(void); - #endif +       #ifdef DEBUG_MALLOC    /* Make some statically allocated structs known to dmalloc. These    * will still show up in the DO_PIKE_CLEANUP leak report if they    * leak, in spite of dmalloc_accept_leak. */    dmalloc_register (&empty_array, sizeof (empty_array),    DMALLOC_LOCATION());    dmalloc_accept_leak (&empty_array);    dmalloc_register (&weak_empty_array, sizeof (weak_empty_array),    DMALLOC_LOCATION());
pike.git/src/module.c:111:       init_builtin_efuns();       TRACE((stderr, "Init signal handling...\n"));       init_signals();       TRACE((stderr, "Init dynamic loading...\n"));       init_dynamic_load(); - #ifdef WITH_FACETS +     -  TRACE((stderr, "Init facets...\n")); -  -  init_facetgroup(); - #endif -  +     TRACE((stderr, "Init sprintf...\n"));       init_sprintf();   }      static void exit_builtin_modules(void)   {   #ifdef DO_PIKE_CLEANUP    void exit_iterators(void); - #ifdef WITH_FACETS -  void exit_facetgroup(void); - #endif +        /* Clear various global references. */       exit_sprintf();   #ifdef AUTO_BIGNUM    exit_auto_bignum();   #endif    exit_pike_searching();    exit_object();    exit_signals();    exit_builtin_efuns();    exit_builtin();    exit_cpp();    cleanup_interpret();    exit_builtin_constants();    cleanup_module_support();    exit_operators();    exit_iterators(); - #ifdef WITH_FACETS -  exit_facetgroup(); - #endif +     cleanup_program();    cleanup_compiler();    cleanup_error();    exit_backend();    cleanup_gc();    cleanup_pike_types();      #ifdef PIKE_THREADS    /* This zaps Pike_interpreter.thread_state among other things, so    * THREADS_ALLOW/DISALLOW are NOPs beyond this point. */