- bindSymbol
void bindSymbol(SharedLib lib, void** ptr, string symbolName)
Load a symbol from the library
- bindSymbolStdCall
void bindSymbolStdCall(SharedLib lib, T ptr, string symbolName)
Undocumented in source. Be warned that the author may not have intended to support it.
- load
SharedLib load(string libName)
load the library without running the init function
- loadAndInitModule
SharedLib loadAndInitModule(string directory, string libname, Interpreter interpreter)
loads and runs the initializer
- loadLib
void* loadLib(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadLib
void* loadLib(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadSymbol
void* loadSymbol(void* lib, string symbolName)
Undocumented in source. Be warned that the author may not have intended to support it.
- loadSymbol
void* loadSymbol(void* lib, string symbolName)
Undocumented in source. Be warned that the author may not have intended to support it.
- setCustomLoaderSearchPath
bool setCustomLoaderSearchPath(string path)
Undocumented in source. Be warned that the author may not have intended to support it.
- sysError
string sysError()
Undocumented in source. Be warned that the author may not have intended to support it.
- sysError
string sysError()
Undocumented in source. Be warned that the author may not have intended to support it.
- unload
void unload(SharedLib lib)
- unloadLib
void unloadLib(void* lib)
Undocumented in source. Be warned that the author may not have intended to support it.
- unloadLib
void unloadLib(void* lib)
Undocumented in source. Be warned that the author may not have intended to support it.
Inspired by bindbc-loader. Implements shared library module loading.