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

The type’s free function is called on all of the IDs 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 ID 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:
Returns:
Returns non-negative on success, negative on failure.
Fortran90 Interface:
This function is not supported in FORTRAN 90.