SDL_GetLogOutputFunction

Function SDL_GetLogOutputFunction 

Source
pub unsafe extern "C" fn SDL_GetLogOutputFunction(
    callback: *mut SDL_LogOutputFunction,
    userdata: *mut *mut c_void,
)
Expand description

Get the current log output function.

§Parameters

  • callback: an SDL_LogOutputFunction filled in with the current log callback.
  • userdata: a pointer filled in with the pointer that is passed to callback.

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also