pike.git / src / module.c

version» Context lines:

pike.git/src/module.c:376:   };      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   };    + /*! @decl object _static_modules +  *! +  *! This is an object containing the classes for all static +  *! (ie non-dynamic) C-modules. +  *! +  *! In a typic Pike with support for dynamic modules the contained +  *! module classes are: +  *! @dl +  *! @item @[Builtin] +  *! @item @[Gmp] +  *! @item @[_Stdio] +  *! @item @[_math] +  *! @item @[_system] +  *! @enddl +  *! +  *! If the Pike binary lacks support for dynamic modules, all C-modules +  *! will show up here. +  */ +    void init_modules(void)   {    struct program *p = NULL;    volatile unsigned int e;       enter_compiler(NULL, 1);       start_new_program();    Pike_compiler->new_program->id=PROG___BUILTIN_ID;