You want to handle fatal errors (assertions) yourself rather than have the library call abort()
This can be done via the C API
Define a function with the following signature:
typedef void (*codes_assertion_failed_proc)(const char* message); |
Then call
codes_set_codes_assertion_failed_proc(&your_function); |
To restore the default behaviour, call
codes_set_codes_assertion_failed_proc(NULL); |
You may also want to use visual panels to communicate related information, tips or things users need to be aware of. |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|