|
Arcade architecture
|
Header file for dynamic library handling functions. More...

Go to the source code of this file.
Functions | |
| void * | openDynamicLib (const char *path) |
| Opens a dynamic library. More... | |
| void * | getFunctionDynamicLib (void *moduleHandle, const char *name) |
| Retrieves a function or symbol from a dynamic library. More... | |
| void | closeDynamicLib (void *moduleHandle) |
| Closes a dynamic library. More... | |
| const char * | getDlError (void) |
| Retrieves the last dynamic library error message. More... | |
Header file for dynamic library handling functions.
This file provides declarations for functions to load, retrieve symbols from, and close dynamic libraries, as well as retrieve error messages related to dynamic library operations.
| void closeDynamicLib | ( | void * | moduleHandle | ) |
Closes a dynamic library.
This function closes a previously loaded dynamic library and releases associated resources.
| moduleHandle | The handle to the loaded dynamic library. |
| const char * getDlError | ( | void | ) |
Retrieves the last dynamic library error message.
This function returns a string describing the last error that occurred during a dynamic library operation.
| void * getFunctionDynamicLib | ( | void * | moduleHandle, |
| const char * | name | ||
| ) |
Retrieves a function or symbol from a dynamic library.
This function retrieves the address of a function or symbol from a loaded dynamic library using its handle and the symbol's name.
| moduleHandle | The handle to the loaded dynamic library. |
| name | The name of the function or symbol to retrieve. |
| void * openDynamicLib | ( | const char * | path | ) |
Opens a dynamic library.
This function loads a dynamic library from the specified path and returns a handle to the loaded library.
| path | The file path to the dynamic library. |