Functions | |
void | mm_error_init (void) |
void | mm_error_setmsg (const char *fmt,...) |
char * | mm_error_string (void) |
void mm_error_init | ( | void | ) |
Initializes the global error object
This function initializes the global error object mm_error. This must be done when the library is initialized, and is automatically called from mm_init_library().
void mm_error_setmsg | ( | const char * | fmt, | |
... | ||||
) |
Sets a descriptive error message
fmt | The error message as format string |
char* mm_error_string | ( | void | ) |
Retrieves the current error message