sdlGetDefaultLogOutputFunction function

Pointer<NativeFunction<SdlLogOutputFunction>> sdlGetDefaultLogOutputFunction()

Get the default log output function.

\returns the default log output callback.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.1.6.

\sa SDL_SetLogOutputFunction \sa SDL_GetLogOutputFunction

extern SDL_DECLSPEC SDL_LogOutputFunction SDLCALL SDL_GetDefaultLogOutputFunction(void)

Implementation

Pointer<NativeFunction<SdlLogOutputFunction>> sdlGetDefaultLogOutputFunction() {
  final sdlGetDefaultLogOutputFunctionLookupFunction = libSdl3.lookupFunction<
      Pointer<NativeFunction<SdlLogOutputFunction>> Function(),
      Pointer<NativeFunction<SdlLogOutputFunction>>
          Function()>('SDL_GetDefaultLogOutputFunction');
  return sdlGetDefaultLogOutputFunctionLookupFunction();
}