pike.git / src / dynamic_load.c

version» Context lines:

pike.git/src/dynamic_load.c:10:   # 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.60 2002/03/10 03:14:46 mast Exp $"); + RCSID("$Id: dynamic_load.c,v 1.61 2002/04/30 22:55:31 mast 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:401:    sp[-args].u.string->str, err);    } else {    Pike_error("load_module() failed: %s\n", err);    }    }       {    struct module_list *mp;    for (mp = dynamic_module_list; mp; mp = mp->next)    if (mp->module == module && mp->module_prog) { +  pop_n_elems(args);    ref_push_program(mp->module_prog);    return;    }    }       init = CAST_TO_FUN(dlsym(module, "pike_module_init"));    if (!init) {    init = CAST_TO_FUN(dlsym(module, "_pike_module_init"));    }    exit = CAST_TO_FUN(dlsym(module, "pike_module_exit"));