SDL  2.0
SDL_systls.c File Reference
+ Include dependency graph for SDL_systls.c:

Go to the source code of this file.

Functions

SDL_TLSDataSDL_SYS_GetTLSData (void)
 
int SDL_SYS_SetTLSData (SDL_TLSData *data)
 

Function Documentation

◆ SDL_SYS_GetTLSData()

SDL_TLSData* SDL_SYS_GetTLSData ( void  )

Definition at line 27 of file SDL_systls.c.

Referenced by SDL_TLSCleanup(), SDL_TLSGet(), and SDL_TLSSet().

28 {
29  return SDL_Generic_GetTLSData();
30 }
SDL_TLSData * SDL_Generic_GetTLSData(void)
Definition: SDL_thread.c:124

◆ SDL_SYS_SetTLSData()

int SDL_SYS_SetTLSData ( SDL_TLSData data)

Definition at line 33 of file SDL_systls.c.

Referenced by SDL_TLSCleanup(), and SDL_TLSSet().

34 {
35  return SDL_Generic_SetTLSData(data);
36 }
int SDL_Generic_SetTLSData(SDL_TLSData *storage)
Definition: SDL_thread.c:163