sdlAtomicGet function
Get the value of an atomic variable.
Note: If you don't know what this function is for, you shouldn't use it!
\param a a pointer to an SDL_atomic_t variable \returns the current value of an atomic variable.
\since This function is available since SDL 2.0.2.
\sa SDL_AtomicSet
extern DECLSPEC int SDLCALL SDL_AtomicGet(SDL_atomic_t *a)
Implementation
int sdlAtomicGet(Pointer<SdlAtomicT> a) {
final sdlAtomicGetLookupFunction = libSdl2.lookupFunction<
Int32 Function(Pointer<SdlAtomicT> a),
int Function(Pointer<SdlAtomicT> a)>('SDL_AtomicGet');
return sdlAtomicGetLookupFunction(a);
}