15 throw RuntimeError(
"[SharedLibrary::getSymbol]: can't find symbol ", name );
static std::string prefix()
bool hasSymbol(const std::string &name)
Returns true iff a library has been loaded.
static std::string getOSName(const std::string &name)
static std::string suffix()
void * getSymbol(const std::string &name)
Simple class for manipulating paths on Linux/Windows/Mac OS.
void load(const std::string &path, int flags=0)
void * findSymbol(const std::string &name)