|
uvw 3.1.0
|
The shared lib class. More...
#include <lib.h>


Public Member Functions | |
| operator bool () const noexcept | |
| Checks if the library has been correctly opened. | |
| template<typename F > | |
| F * | sym (const std::string &name) |
| Retrieves a data pointer from a dynamic library. | |
| const char * | error () const noexcept |
| Returns the last error message, if any. | |
Public Member Functions inherited from uvw::uv_type< uv_lib_t > | |
| virtual int | init () |
| Initializes the handle. | |
| loop & | parent () const noexcept |
| Gets the loop from which the resource was originated. | |
| const uv_lib_t * | raw () const noexcept |
| Gets the underlying raw data structure. | |
| uv_lib_t * | raw () noexcept |
| Gets the underlying raw data structure. | |
The shared lib class.
uvw provides cross platform utilities for loading shared libraries and retrieving symbols from them, by means of the API offered by libuv.
|
noexcept |
Returns the last error message, if any.
|
explicitnoexcept |
Checks if the library has been correctly opened.
|
inline |
Retrieves a data pointer from a dynamic library.
F shall be a valid function type (as an example, void(int)).
It is legal for a symbol to map to nullptr.
| name | The symbol to be retrieved. |
nullptr otherwise.