SDL_ThreadFunction.3type - Man Page

The function passed to SDL_CreateThread () as the new thread's entry point.

Header File

Defined in SDL3/SDL_thread.h

Synopsis

#include "SDL3/SDL.h"

typedef int (SDLCALL * SDL_ThreadFunction) (void *data);

Function Parameters

data

what was passed as data to SDL_CreateThread ().

Return Value

Returns a value that can be reported through

SDL_WaitThread ().

Availability

This datatype is available since SDL 3.2.0.

Info

SDL 3.2.2 Simple Directmedia Layer SDL3 DATATYPES