Rename SDL_atomic_t to SDL_AtomicInt

This commit is contained in:
David Demelier authored and Sam Lantinga committed 2023-03-09 09:00:09 -08:00
1 parent 8994878767
commit d0c4849d0b
33 files changed
+81 -70

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@
SDL_TLSID
SDL_TLSCreate(void)
{
static SDL_atomic_t SDL_tls_id;
static SDL_AtomicInt SDL_tls_id;
return SDL_AtomicIncRef(&SDL_tls_id) + 1;
}
+1 -1
View File
@@ -62,7 +62,7 @@ struct SDL_Thread
SDL_threadID threadid;
SYS_ThreadHandle handle;
int status;
SDL_atomic_t state; /* SDL_THREAD_STATE_* */
SDL_AtomicInt state; /* SDL_THREAD_STATE_* */
SDL_error errbuf;
char *name;
size_t stacksize; /* 0 for default, >0 for user-specified stack size. */