diff options
Diffstat (limited to 'Runtime/Modules/LoadDylib.h')
-rw-r--r-- | Runtime/Modules/LoadDylib.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Runtime/Modules/LoadDylib.h b/Runtime/Modules/LoadDylib.h new file mode 100644 index 0000000..7e019d6 --- /dev/null +++ b/Runtime/Modules/LoadDylib.h @@ -0,0 +1,13 @@ +#ifndef LOADDYLIB_H +#define LOADDYLIB_H +#include <string> + +std::string GetPathWithPlatformSpecificDllExtension(const std::string& path); +void* LoadDynamicLibrary (const std::string& absolutePath); +void* LoadAndLookupSymbol (const std::string& absolutePath, const std::string& name); +void UnloadDynamicLibrary (void* libraryReference); +void UnloadDynamicLibrary (const std::string& absolutePath); +bool LoadAndLookupSymbols (const char* path, ...); +void* LookupSymbol(void* libraryReference, const std::string& symbolName); + +#endif |