sdlCreateCondition function
Create a condition variable.
\returns a new condition variable or NULL on failure; call SDL_GetError() for more information.
\since This function is available since SDL 3.1.3.
\sa SDL_BroadcastCondition \sa SDL_SignalCondition \sa SDL_WaitCondition \sa SDL_WaitConditionTimeout \sa SDL_DestroyCondition
extern SDL_DECLSPEC SDL_Condition * SDLCALL SDL_CreateCondition(void)
Implementation
Pointer<SdlCondition> sdlCreateCondition() {
final sdlCreateConditionLookupFunction = libSdl3.lookupFunction<
Pointer<SdlCondition> Function(),
Pointer<SdlCondition> Function()>('SDL_CreateCondition');
return sdlCreateConditionLookupFunction();
}