Name: H5Idestroy_type
Signature:
  herr_t `H5Idestroy_type`( H5I_type_t `type` )
Purpose:
  Removes the type `type` and all identifiers within that type.
Description:
  `H5Idestroy_type` deletes an entire identifier type. All identifiers of this type are destroyed and no new identifiers of this type can be registered.

  The type’s free function is called on all of the identifiers which are deleted by this function, freeing their memory. In addition, all memory used by this type’s hash table is freed.

  Since the H5I_type_t values of destroyed identifier types are reused when new types are registered, it is a good idea to set the variable holding the value of the destroyed type to `H5I_UNINIT`.

Parameters:

H5I_type_t `type` | IN: Identifier of identifier type which is to be destroyed

Returns:
  Returns non-negative on success, negative on failure.
Fortran90 Interface:
  None.