Rapier C — 2D / f64 0.36.0+c.0
Loading...
Searching...
No Matches
R2ErrorHandler Struct Reference

An optional thread-local error handler. More...

#include <rapier.h>

Data Fields

R2ErrorCallback callback
 Optional error callback; NULL disables notifications.
void * user_data
 Application data; Rapier does not own pointers encoded in it.

Detailed Description

An optional thread-local error handler.

A null callback disables reporting. Keep the callback and user_data alive until the handler is replaced.

Field Documentation

◆ callback

R2ErrorCallback R2ErrorHandler::callback

Optional error callback; NULL disables notifications.

◆ user_data

void* R2ErrorHandler::user_data

Application data; Rapier does not own pointers encoded in it.


The documentation for this struct was generated from the following file: