Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::dl Namespace Reference

Functions

void * open (const char *filename)
 
void * get (void *handle, const char *symbol_name)
 
void close (void *handle)
 

Variables

static constexpr auto extension
 

Function Documentation

◆ close()

void thorin::dl::close ( void *  handle)

Definition at line 55 of file dl.cpp.

References thorin::error().

Referenced by thorin::Driver::load().

◆ get()

void * thorin::dl::get ( void *  handle,
const char *  symbol_name 
)

Definition at line 36 of file dl.cpp.

References thorin::error().

Referenced by thorin::Driver::get_fun_ptr(), and thorin::Driver::load().

◆ open()

void * thorin::dl::open ( const char *  filename)

Definition at line 17 of file dl.cpp.

References thorin::error().

Referenced by thorin::Driver::load().

Variable Documentation

◆ extension

constexpr auto thorin::dl::extension
staticconstexpr
Initial value:
=
"so"

Definition at line 8 of file dl.h.