Function SDL_GetLogOutputFunction
pub unsafe extern "C" fn SDL_GetLogOutputFunction(
callback: *mut Option<unsafe extern "C" fn(_: *mut c_void, _: i32, _: SDL_LogPriority, _: *const i8)>,
userdata: *mut *mut c_void,
)
Available on crate feature
dep_sdl3
only.Expand description
Get the current log output function.
§Parameters
callback
: anSDL_LogOutputFunction
filled in with the current log callback.userdata
: a pointer filled in with the pointer that is passed tocallback
.
§Thread safety
It is safe to call this function from any thread.
§Availability
This function is available since SDL 3.2.0.