Set a pointer to a value atomically.
Defined in SDL_atomic.h
void* SDL_AtomicSetPtr(void **a, void* v);
a | a pointer to a pointer |
v | the desired pointer value |
Returns the previous value of the pointer.
Note: If you don't know what this function is for, you shouldn't use it!
This function is available since SDL 2.0.2.
CategoryAPI, CategoryAPIFunction