sdlGetLogOutputFunction function
void
sdlGetLogOutputFunction(
- Pointer<
Pointer< callback,NativeFunction< >SdlLogOutputFunction> > - Pointer<
Pointer< userdataNativeType> >
Get the current log output function.
\param callback an SDL_LogOutputFunction filled in with the current log
callback.
\param userdata a pointer filled in with the pointer that is passed to
callback
.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.1.3.
\sa SDL_GetDefaultLogOutputFunction \sa SDL_SetLogOutputFunction
extern SDL_DECLSPEC void SDLCALL SDL_GetLogOutputFunction(SDL_LogOutputFunction *callback, void **userdata)
Implementation
void sdlGetLogOutputFunction(
Pointer<Pointer<NativeFunction<SdlLogOutputFunction>>> callback,
Pointer<Pointer<NativeType>> userdata) {
final sdlGetLogOutputFunctionLookupFunction = libSdl3.lookupFunction<
Void Function(
Pointer<Pointer<NativeFunction<SdlLogOutputFunction>>> callback,
Pointer<Pointer<NativeType>> userdata),
void Function(
Pointer<Pointer<NativeFunction<SdlLogOutputFunction>>> callback,
Pointer<Pointer<NativeType>> userdata)>('SDL_GetLogOutputFunction');
return sdlGetLogOutputFunctionLookupFunction(callback, userdata);
}