pike.git / src / module.c

version» Context lines:

pike.git/src/module.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: module.c,v 1.35 2005/03/28 21:56:03 nilsson Exp $ + || $Id: module.c,v 1.36 2005/12/31 03:36:26 nilsson Exp $   */      #include "global.h"   #include "module.h"   #include "pike_macros.h"   #include "pike_error.h"   #include "builtin_functions.h"   #include "main.h"   #include "svalue.h"   #include "interpret.h"
pike.git/src/module.c:40: 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       init_cpp();    init_backend();    init_iterators();    init_pike_searching();    init_error();    init_pike_security();    th_init();    init_operators();       init_builtin();       init_builtin_efuns();    init_signals();    init_dynamic_load(); -  + #ifdef WITH_FACETS    init_facetgroup(); -  + #endif   }      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. */      #ifdef AUTO_BIGNUM    exit_auto_bignum();   #endif    exit_pike_searching();    exit_object();    exit_signals();    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();       /* This zaps Pike_interpreter.thread_state among other things, so    * THREADS_ALLOW/DISALLOW are NOPs beyond this point. */    th_cleanup();