pike.git / src / dynamic_load.c

version» Context lines:

pike.git/src/dynamic_load.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: dynamic_load.c,v 1.68 2003/04/02 20:55:03 mast Exp $ + || $Id: dynamic_load.c,v 1.69 2003/04/07 17:28:55 nilsson Exp $   */      #ifdef TESTING   #define NO_PIKE_INCLUDES   #define CREATE_MAIN   #define NO_PIKE_GUTS   #endif      #ifndef NO_PIKE_INCLUDES   # include "global.h"
pike.git/src/dynamic_load.c:17:   # include "constants.h"   # include "pike_error.h"   # include "module.h"   # include "stralloc.h"   # include "pike_macros.h"   # include "main.h"   # include "constants.h"   # include "language.h"   # include "lex.h"    - RCSID("$Id: dynamic_load.c,v 1.68 2003/04/02 20:55:03 mast Exp $"); + RCSID("$Id: dynamic_load.c,v 1.69 2003/04/07 17:28:55 nilsson Exp $");      #else /* TESTING */      #include <stdio.h>      #endif /* !TESTING */      #ifdef HAVE_ERRNO_H   #include <errno.h>   #endif /* HAVE_ERRNO_H */
pike.git/src/dynamic_load.c:357:   }      /*! @decl program load_module(string module_name)    *!    *! Load a binary module.    *!    *! This function loads a module written in C or some other language    *! into Pike. The module is initialized and any programs or constants    *! defined will immediately be available.    *! -  *! When a module is loaded the function @tt{pike_module_init()@} will +  *! When a module is loaded the C function @tt{pike_module_init()@} will    *! be called to initialize it. When Pike exits @tt{pike_module_exit()@}    *! will be called. These two functions @b{must@} be available in the module.    *!    *! @note    *! The current working directory is normally not searched for -  *! dynamic modules. Please use @tt{"./name.so"@} instead of just -  *! @tt{"name.so"@} to load modules from the current directory. +  *! dynamic modules. Please use @expr{"./name.so"@} instead of just +  *! @expr{"name.so"@} to load modules from the current directory.    */   void f_load_module(INT32 args)   {    extern int compilation_depth;    extern int global_callable_flags;       void *module;    modfun init, exit;    struct module_list *new_module;    const char *module_name;