SDL_AtomicIncRef

Use this function to increment an atomic variable used as a reference count.

使用这个函数来递增用作计数的原子变量。

Syntax 语法

  1. void SDL_AtomicIncRef(SDL_atomic_t* a)

Function Parameters 函数参数

参数 解释(EN) 解释(ZH)
a a pointer to an SDL_atomic_t variable to be modified. 通过指针指向 SDL_atomic_t 的变量进行修改。

Code Examples 示例代码

  1. 暂无

Remarks 备注

暂无

Related Functions 相关函数

SDL_AtomicAdd

SDL_AtomicDecRef


@SixerMe Translated