Updated source to match SDL function prototype style

This commit is contained in:
Sam Lantinga committed 2023-05-23 09:37:07 -07:00
1 parent a828f5897e
commit 737aa881fa
39 files changed
+95 -191

No files matched your search

+2 -4
View File
@@ -203,8 +203,7 @@ int SDL_AtomicSet(SDL_AtomicInt *a, int v)
#endif
}
void *
SDL_AtomicSetPtr(void **a, void *v)
void *SDL_AtomicSetPtr(void **a, void *v)
{
#ifdef HAVE_MSC_ATOMICS
return _InterlockedExchangePointer(a, v);
@@ -270,8 +269,7 @@ int SDL_AtomicGet(SDL_AtomicInt *a)
#endif
}
void *
SDL_AtomicGetPtr(void **a)
void *SDL_AtomicGetPtr(void **a)
{
#ifdef HAVE_ATOMIC_LOAD_N
return __atomic_load_n(a, __ATOMIC_SEQ_CST);