sdlHidFreeEnumeration function

void sdlHidFreeEnumeration(
  1. Pointer<SdlHidDeviceInfo> devs
)

Free an enumeration linked list.

This function frees a linked list created by SDL_hid_enumerate().

\param devs pointer to a list of struct_device returned from SDL_hid_enumerate().

\since This function is available since SDL 3.1.3.

extern SDL_DECLSPEC void SDLCALL SDL_hid_free_enumeration(SDL_hid_device_info *devs)

Implementation

void sdlHidFreeEnumeration(Pointer<SdlHidDeviceInfo> devs) {
  final sdlHidFreeEnumerationLookupFunction = libSdl3.lookupFunction<
      Void Function(Pointer<SdlHidDeviceInfo> devs),
      void Function(
          Pointer<SdlHidDeviceInfo> devs)>('SDL_hid_free_enumeration');
  return sdlHidFreeEnumerationLookupFunction(devs);
}