This reference describes unreleased code on main; no release documents it yet.

RLMeshWarningHandlerFn

type aliasExperimental#include <rlmesh.h>[source]

A warning handler: message is NUL-terminated UTF-8, borrowed for the call. Return RLMESH_OK, or nonzero (after rlmesh_callback_set_error for the text) to fail the call that warned with that error. Called on the thread that warned; it must be thread-safe.

typedef RLMeshStatus (
    *RLMeshWarningHandlerFn
)(void* user_data, RLMeshWarningCategory category, const char* message)