pike.git / src / dynamic_load.c

version» Context lines:

pike.git/src/dynamic_load.c:1:   #ifndef TESTING   # include "global.h"   # include "interpret.h"   # include "constants.h"   # include "error.h"   # include "module.h"   # include "stralloc.h"   # include "pike_macros.h"   # include "main.h"    - RCSID("$Id: dynamic_load.c,v 1.33 1999/02/01 01:36:06 per Exp $"); + RCSID("$Id: dynamic_load.c,v 1.34 1999/02/10 21:46:43 hubbe Exp $");      #endif /* !TESTING */      #ifdef HAVE_ERRNO_H   #include <errno.h>   #endif /* HAVE_ERRNO_H */   #ifdef HAVE_STRING_H   #include <string.h>   #endif /* HAVE_STRING_H */   
pike.git/src/dynamic_load.c:287: Inside #if undefined(TESTING) and #if defined(HAVE_DLOPEN) || defined(USE_DLD) || defined(USE_HPUX_DL)
  }      #endif /* HAVE_DLOPEN || USE_DLD || USE_HPUX_DL */         void init_dynamic_load(void)   {   #if defined(HAVE_DLOPEN) || defined(USE_DLD) || defined(USE_HPUX_DL)    dlinit();    -  add_efun("load_module",f_load_module,"function(string:program)",OPT_EXTERNAL_DEPEND); +  + /* function(string:program) */ +  ADD_EFUN("load_module",f_load_module,tFunc(tStr,tPrg),OPT_EXTERNAL_DEPEND);   #endif   }      void exit_dynamic_load(void)   {   #if defined(HAVE_DLOPEN) || defined(USE_DLD) || defined(USE_HPUX_DL)    while(dynamic_module_list)    {    struct module_list *tmp=dynamic_module_list;    dynamic_module_list=tmp->next;