sdlDestroyProperties function

void sdlDestroyProperties(
  1. int props
)

Destroy a group of properties.

All properties are deleted and their cleanup functions will be called, if any.

\param props the properties to destroy.

\threadsafety This function should not be called while these properties are locked or other threads might be setting or getting values from these properties.

\since This function is available since SDL 3.1.3.

\sa SDL_CreateProperties

extern SDL_DECLSPEC void SDLCALL SDL_DestroyProperties(SDL_PropertiesID props)

Implementation

void sdlDestroyProperties(int props) {
  final sdlDestroyPropertiesLookupFunction = libSdl3.lookupFunction<
      Void Function(Uint32 props),
      void Function(int props)>('SDL_DestroyProperties');
  return sdlDestroyPropertiesLookupFunction(props);
}