|
libcmutils 0.6.5
Multi-platform C99 utility library
|
Dynamic library loader. More...
Data Fields | |
| void *(* | GetProcedure )(const CMUTIL_Library *lib, const char *proc_name) |
| Get a procedure (function) from the dynamic library. | |
| void(* | Destroy )(CMUTIL_Library *lib) |
| Destroy the dynamic library loader and unload the library. | |
Dynamic library loader.
| void *(* CMUTIL_Library::GetProcedure) (const CMUTIL_Library *lib, const char *proc_name) |
Get a procedure (function) from the dynamic library.
This function retrieves a pointer to a function with the specified name from the loaded dynamic library.
| lib | A pointer to the CMUTIL_Library object representing the loaded dynamic library. |
| proc_name | The name of the procedure (function) to retrieve. |
| void(* CMUTIL_Library::Destroy) (CMUTIL_Library *lib) |
Destroy the dynamic library loader and unload the library.
This function unloads the dynamic library associated with the CMUTIL_Library object and frees any associated resources. After calling this function, the CMUTIL_Library object should not be used again.
| lib | A pointer to the CMUTIL_Library object to be destroyed. |