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.38 2006/01/24 14:19:23 mast Exp $ + || $Id: module.c,v 1.39 2006/02/27 12:33:55 mast 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:26:   #include "signal_handler.h"   #include "dynamic_load.h"   #include "gc.h"   #include "multiset.h"   #include "pike_types.h"   #include "constants.h"   #include "bignum.h"   #include "module_support.h"      #include "modules/modlist_headers.h" + #ifndef PRE_PIKE   #include "post_modules/modlist_headers.h" -  + #endif      /* Define this to trace the initialization and cleanup of static modules. */   /* #define TRACE_MODULE */      #if defined(TRACE_MAIN) || defined(TRACE_MODULE)   #define TRACE(X) fprintf X   #else /* !TRACE_MAIN */   #define TRACE(X)   #endif /* TRACE_MAIN */   
pike.git/src/module.c:277:   struct static_module   {    char *name;    modfun init;    modfun exit;   };      static const struct static_module module_list[] = {    { "Builtin", init_builtin_modules, exit_builtin_modules }   #include "modules/modlist.h" + #ifndef PRE_PIKE   #include "post_modules/modlist.h" -  + #endif   };      void init_modules(void)   {    struct program *p = NULL;    volatile unsigned int e;    struct lex save_lex;       save_lex = lex;    lex.current_line=1;