mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-13 21:35:59 +00:00
Updated source to match SDL function prototype style
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user