Set a pointer to a new value if it is currently an old value.
***Note: If you don't know what this function is for, you shouldn't use it!***
a pointer to a pointer.
the old pointer value.
the new pointer value.
true if the pointer was set, false otherwise.
SDL_CompareAndSwapAtomicInt SDL_GetAtomicPointer SDL_SetAtomicPointer
Threadsafety: It is safe to call this function from any thread.
See Implementation
Available since SDL 3.2.0.
Set a pointer to a new value if it is currently an old value.
***Note: If you don't know what this function is for, you shouldn't use it!***