or does not belong to the specified type.
H5Iremove_verify
Removes an identifier from its type and returns the associated object.
First verifies that the identifier belongs to the specified type, then removes it and returns the associated object pointer. The object is not freed; the caller is responsible for cleanup.
Parameters
id | The identifier to remove |
type | The expected type of the identifier |
Returns
A pointer to the object on success, or null if the ID is invalid