logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_MainThreadCallback - Callback run on the main thread.

Availability

       This datatype is available since SDL 3.2.0.

Function Parameters

userdata
              an app-controlled pointer that is passed to the callback.

Header File

       Defined in SDL3/SDL_init.h

Name

       SDL_MainThreadCallback - Callback run on the main thread.

See Also

(3), SDL_RunOnMainThread(3)

Simple Directmedia Layer                           SDL 3.2.10                      SDL_MainThreadCallback(3type)

Synopsis

#include"SDL3/SDL.h"typedefvoid(SDLCALL*SDL_MainThreadCallback)(void*userdata);

See Also