sdlGetAtomicU32 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_AtomicU32 variable. \returns the current value of an atomic variable.
\threadsafety It is safe to call this function from any thread.
\since This function is available since SDL 3.1.3.
\sa SDL_SetAtomicU32
extern SDL_DECLSPEC Uint32 SDLCALL SDL_GetAtomicU32(SDL_AtomicU32 *a)
Implementation
int sdlGetAtomicU32(Pointer<SdlAtomicU32> a) {
final sdlGetAtomicU32LookupFunction = libSdl3.lookupFunction<
Uint32 Function(Pointer<SdlAtomicU32> a),
int Function(Pointer<SdlAtomicU32> a)>('SDL_GetAtomicU32');
return sdlGetAtomicU32LookupFunction(a);
}