cf_load_function¶
Category: utility
GitHub: cute_symbol.h
Loads a function out of a shared library.
| Parameters | Description |
|---|---|
| library | A library of functions from load_shared_library. |
| function_name | The name of the function. |
Remarks¶
The function pointer is not valid after calling unload_shared_library. After obtaining the function pointer with load_function
you must typecast it yourself. Returns NULL in the case of errors.