Before using any RAPP library function or data (with the notable exception of rapp_error()), the library must be initialized. More...
Functions | |
void | rapp_initialize (void) |
Initialize the RAPP library. | |
void | rapp_terminate (void) |
Terminate the RAPP library. |
Before using any RAPP library function or data (with the notable exception of rapp_error()), the library must be initialized.
This is done by calling the rapp_initialize() function once, typically from the main thread when the application starts. When finished using the library, the function rapp_terminate() should be called once. This is normally done from the main thread before the application terminates.
Note that even though the operations in the RAPP library are thread-safe, the rapp_initialize() / rapp_terminate() functions themselves are not.
Next section: Build Information
void rapp_initialize | ( | void | ) |
Initialize the RAPP library.
This function must be called at least once for each process before using any RAPP library function. This function is not thread-safe.
void rapp_terminate | ( | void | ) |
Terminate the RAPP library.
This function must be called at least once for each process after using the RAPP library. This function is not thread-safe.