SDL
1/*
2Simple DirectMedia Layer
3Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>
4
5This software is provided 'as-is', without any express or implied
6warranty. In no event will the authors be held liable for any damages
7arising from the use of this software.
8
9Permission is granted to anyone to use this software for any purpose,
10including commercial applications, and to alter it and redistribute it
11freely, subject to the following restrictions:
12
131. The origin of this software must not be misrepresented; you must not
14claim that you wrote the original software. If you use this software
15in a product, an acknowledgment in the product documentation would be
16appreciated but is not required.
172. Altered source versions must be plainly marked as such, and must not be
18misrepresented as being the original software.
193. This notice may not be removed or altered from any source distribution.
20*/
21
22#include "SDL_internal.h"23#include "../SDL_thread_c.h"24
25void SDL_SYS_InitTLSData(void)26{
27SDL_Generic_InitTLSData();28}
29
30SDL_TLSData *SDL_SYS_GetTLSData(void)31{
32return SDL_Generic_GetTLSData();33}
34
35bool SDL_SYS_SetTLSData(SDL_TLSData *data)36{
37return SDL_Generic_SetTLSData(data);38}
39
40void SDL_SYS_QuitTLSData(void)41{
42SDL_Generic_QuitTLSData();43}
44
45