or does not belong to the specified type.
H5Iremove_verify
fn
void * H5Iremove_verify(hid_t id, H5I_type_t type)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