guanaqo 1.0.0-alpha.25
Utilities for scientific software
Loading...
Searching...
No Matches
dl.cpp File Reference
#include <guanaqo/dl.hpp>
#include <dlfcn.h>
#include <cassert>
Include dependency graph for dl.cpp:

Go to the source code of this file.

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.