The function passed to SDL_CreateThread() as the new thread's entry point.
Defined in <SDL3/SDL_thread.h>
typedef int (SDLCALL * SDL_ThreadFunction) (void *data);
data | what was passed as data to SDL_CreateThread(). |
Returns a value that can be reported through SDL_WaitThread().
This datatype is available since SDL 3.1.3.