Removes the type type
and all identifiers within that type
Procedure:
Signature:
herr_t H5Idestroy_type( H5I_type_t type )
Parameters:
H5I_type_t type | IN: Identifier of identifier type which is to be destroyed |
Description:
H5I_DESTROY_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
.
Returns:
Returns non-negative on success, negative on failure.
Example:
--- Last Modified: April 25, 2019 | 12:02 PM