git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4819 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2015-01-07 13:42:06 +00:00
parent 775f6abc0f
commit 8e4e1fb061

View file

@ -54,7 +54,7 @@ typedef struct {
void **funcptr; void **funcptr;
char *name; char *name;
} dllfunction_t; } dllfunction_t;
typedef struct { int unused; } dllhandle_t; //typically recast to void* typedef void dllhandle_t; //typically used as void*
dllhandle_t *Sys_LoadLibrary(const char *name, dllfunction_t *funcs); dllhandle_t *Sys_LoadLibrary(const char *name, dllfunction_t *funcs);
void Sys_CloseLibrary(dllhandle_t *lib); void Sys_CloseLibrary(dllhandle_t *lib);
void *Sys_GetAddressForName(dllhandle_t *module, const char *exportname); void *Sys_GetAddressForName(dllhandle_t *module, const char *exportname);