Risk-Aware Code Review: Auto Approve Low-Risk Changes
LiveReview LiveReview LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt LiveReview - Free, Risk-Aware Code Review: Auto Approve Low-Risk Changes | Product Hunt GitHub Install Now

We'd appreciate a star

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