rlmesh_set_warning_handler
Install the process-wide warning handler; a NULL fn restores the default, one line to stderr ("rlmesh: <Category>: <message>") per distinct warning. A NULL fn with a non-NULL user_data or free_user_data is RLMESH_ERR_INVALID_ARGUMENT and keeps the installed handler. On RLMESH_OK the library owns user_data and calls free_user_data (NULL = none) once, after the handler is replaced and every call of it has returned.
RLMeshStatus rlmesh_set_warning_handler(
RLMeshWarningHandlerFn fn,
void* user_data,
void (*free_user_data)(void* user_data)
)