Function SDL_SemValue
pub unsafe extern "C" fn SDL_SemValue(sem: *mut SDL_semaphore) -> u32 ⓘ
Available on crate feature
dep_sdl2
only.Expand description
Get the current value of a semaphore.
\param sem the semaphore to query \returns the current value of the semaphore.
\since This function is available since SDL 2.0.0.
\sa SDL_CreateSemaphore