sdlDestroyCondition function

void sdlDestroyCondition(
  1. Pointer<SdlCondition> cond
)

Destroy a condition variable.

\param cond the condition variable to destroy.

\since This function is available since SDL 3.1.3.

\sa SDL_CreateCondition

extern SDL_DECLSPEC void SDLCALL SDL_DestroyCondition(SDL_Condition *cond)

Implementation

void sdlDestroyCondition(Pointer<SdlCondition> cond) {
  final sdlDestroyConditionLookupFunction = libSdl3.lookupFunction<
      Void Function(Pointer<SdlCondition> cond),
      void Function(Pointer<SdlCondition> cond)>('SDL_DestroyCondition');
  return sdlDestroyConditionLookupFunction(cond);
}