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.39 2000/02/17 18:58:16 hubbe Exp $"); + RCSID("$Id: dynamic_load.c,v 1.40 2000/06/27 15:15:11 grubba 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:44:   #endif         #ifdef HAVE_SOME_DLOPEN      typedef void (*modfun)(void);      #ifdef USE_LOADLIBRARY   #include <windows.h>    - static TCHAR *convert_string(char *str, int len) + static TCHAR *convert_string(const char *str, int len)   {    int e;    TCHAR *ret=(TCHAR *)xalloc((len+1) * sizeof(TCHAR));    for(e=0;e<len;e++) ret[e]=EXTRACT_UCHAR(str+e);    ret[e]=0;    return ret;   }      static void *dlopen(const char *foo, int how)   {