|
guanaqo
1.0.0-alpha.24
Utilities for scientific software
|
Dynamic library loading and symbol lookup.
Definition in file dl.hpp.
#include <guanaqo/dl-flags.hpp>#include <guanaqo/export.h>#include <filesystem>#include <memory>#include <stdexcept>Go to the source code of this file.
Classes | |
| struct | guanaqo::dynamic_load_error |
| Failed to load a DLL or SO file, or failed to access a function in it. More... | |
Namespaces | |
| namespace | guanaqo |
Functions | |
| std::shared_ptr< void > | guanaqo::load_lib (const std::filesystem::path &so_filename, DynamicLoadFlags flags) |
| Load a DLL or DSO file. | |
| void * | guanaqo::load_func (void *lib_handle, const std::string &name) |
| Get a pointer to a function inside of a loaded DLL or SO file. | |