sdlTlsCreate function
Create a piece of thread-local storage.
This creates an identifier that is globally visible to all threads but refers to data that is thread-specific.
\returns the newly created thread local storage identifier or 0 on error.
\since This function is available since SDL 2.0.0.
\sa SDL_TLSGet \sa SDL_TLSSet
extern DECLSPEC SDL_TLSID SDLCALL SDL_TLSCreate(void)
Implementation
int sdlTlsCreate() {
final sdlTlsCreateLookupFunction = libSdl2
.lookupFunction<Uint32 Function(), int Function()>('SDL_TLSCreate');
return sdlTlsCreateLookupFunction();
}