Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 557 Bytes

SDL_AtomicGetPtr.mediawiki

File metadata and controls

39 lines (23 loc) · 557 Bytes

Table of Contents

SDL_AtomicGetPtr

Get the value of a pointer atomically.

Syntax

<syntaxhighlight lang="c"> void* SDL_AtomicGetPtr(void **a); </syntaxhighlight>

Function Parameters

a a pointer to a pointer

Return Value

Returns the current value of a pointer.

Remarks

Note: If you don't know what this function is for, you shouldn't use it!

Version

This function is available since SDL 2.0.2.

Related Functions

SDL_AtomicCASPtr
SDL_AtomicSetPtr

CategoryAPI, CategoryAtomic