dynlib Namespace ReferenceΒΆ

adc_cpp: pops::dynlib Namespace Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
pops::dynlib Namespace Reference

Typedefs

using handle = void *
 

Functions

const char * suffix ()
 Platform dynamic library suffix.
 
handle open (const std::string &path)
 Opens a dynamic library (path in UTF-8). Returns a null handle on failure.
 
void * sym (handle h, const char *name)
 Resolves name in h. Returns nullptr if absent.
 
void close (handle h)
 Closes h (no-op on a null handle).
 
bool valid (handle h)
 true if h is a valid handle.
 
std::string last_error ()
 Last error message (best-effort, for diagnostics).
 

Typedef Documentation

◆ handle

using pops::dynlib::handle = typedef void*

Function Documentation

◆ close()

void pops::dynlib::close ( handle  h)
inline

Closes h (no-op on a null handle).

+ Here is the caller graph for this function:

◆ last_error()

std::string pops::dynlib::last_error ( )
inline

Last error message (best-effort, for diagnostics).

+ Here is the caller graph for this function:

◆ open()

handle pops::dynlib::open ( const std::string &  path)
inline

Opens a dynamic library (path in UTF-8). Returns a null handle on failure.

+ Here is the caller graph for this function:

◆ suffix()

const char * pops::dynlib::suffix ( )
inline

Platform dynamic library suffix.

◆ sym()

void * pops::dynlib::sym ( handle  h,
const char *  name 
)
inline

Resolves name in h. Returns nullptr if absent.

+ Here is the caller graph for this function:

◆ valid()

bool pops::dynlib::valid ( handle  h)
inline

true if h is a valid handle.

+ Here is the caller graph for this function: