Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/glacials/splits-io. a speedrunning data store and analysis engine splits.io
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566/** * @file Minimal emulation of POSIX dlopen/dlsym/dlclose on Windows. * @license Public domain. * * This code works fine for the common scenario of loading a * specific DLL and calling one (or more) functions within it. * No attempt is made to emulate POSIX symbol table semantics. */
#ifndef _INCLUDE_DLFCN_H_#define _INCLUDE_DLFCN_H_
#ifdef __cplusplusextern "C" {#endif
#define RTLD_LAZY 0#define RTLD_NOW 0#define RTLD_GLOBAL 0#define RTLD_LOCAL 0
#define RTLD_DEFAULT ((void*) NULL)#define RTLD_NEXT ((void*) NULL)
/** * Open DLL, returning a handle. */
void*dlopen( const char *file, /** DLL filename. */ int mode /** mode flags (ignored). */);
/** * Close DLL. */
intdlclose( void* handle /** Handle from dlopen(). */);
/** * Look up symbol exported by DLL. */
void*dlsym( void* handle, /** Handle from dlopen(). */ const char* name /** Name of exported symbol. */);
/** * Return message describing last error. */
char*dlerror(void);
#ifdef __cplusplus}#endif
#endif