Type Definition ovr_sys::ovrLogCallback

source ·
pub type ovrLogCallback = Option<extern "C" fn(_: usize, _: c_int, _: *const c_char)>;
Expand description

Signature of the logging callback function pointer type.

userData is an arbitrary value specified by the user of ovrInitParams. level is one of the ovrLogLevel constants. message is a UTF8-encoded null-terminated string. see ovrInitParams, ovrLogLevel, ovr_Initialize