diff options
author | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-04-10 16:30:13 (GMT) |
---|---|---|
committer | Mohamad Chaarawi <chaarawi@hdfgroup.org> | 2012-04-10 16:30:13 (GMT) |
commit | 8c20b495d070d9571e41b51c6eefe11708dde35d (patch) | |
tree | 420a2a7030f558018af8a90fc8944b328c5f8333 /test | |
parent | 0dbc51127e4b4bc2f3ada3b0958cc9dc2607c541 (diff) | |
download | hdf5-8c20b495d070d9571e41b51c6eefe11708dde35d.zip hdf5-8c20b495d070d9571e41b51c6eefe11708dde35d.tar.gz hdf5-8c20b495d070d9571e41b51c6eefe11708dde35d.tar.bz2 |
[svn-r22272] provide the wrapped ids to iterate/visit routines
somehow stable version
Diffstat (limited to 'test')
-rw-r--r-- | test/links.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/links.c b/test/links.c index 329b9a2..6d69fea 100644 --- a/test/links.c +++ b/test/links.c @@ -7380,17 +7380,17 @@ done: /* Close the target object if we opened it */ if(target_obj >= 0) { switch(H5Iget_type(target_obj)) { - case H5I_GROUP: + case H5I_GROUP_PUBLIC: if(H5Gclose(target_obj) < 0) ret_value = -1; break; - case H5I_DATASET: + case H5I_DATASET_PUBLIC: if(H5Dclose(target_obj) < 0) ret_value = -1; break; - case H5I_DATATYPE: + case H5I_DATATYPE_PUBLIC: if(H5Tclose(target_obj) < 0) ret_value = -1; break; @@ -7467,17 +7467,17 @@ done: /* Close the target object if we opened it */ if(target_obj >= 0) { switch(H5Iget_type(target_obj)) { - case H5I_GROUP: + case H5I_GROUP_PUBLIC: if(H5Gclose(target_obj) < 0) ret_value = -1; break; - case H5I_DATASET: + case H5I_DATASET_PUBLIC: if(H5Dclose(target_obj) < 0) ret_value = -1; break; - case H5I_DATATYPE: + case H5I_DATATYPE_PUBLIC: if(H5Tclose(target_obj) < 0) ret_value = -1; break; |