You are viewing an old version of this page. View the current version.
Version 1 Next »
Removes the type
type and all identifiers within that type.
herr_t H5Idestroy_type( H5I_type_t type )
|H5I_type_t ||IN: Identifier of identifier type which is to be destroyed|
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
Returns non-negative on success, negative on failure.