diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-09-19 20:18:30 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-09-19 20:18:30 (GMT) |
commit | 2646f917adb5b2e17404260e433dc3ed7c39a602 (patch) | |
tree | 81bdef26f7c5a696fcacd5d824ef8abf97d80d2e /src/H5O.c | |
parent | 29b169abb3ab8fcb0c1e75693def8829433dd6a0 (diff) | |
download | hdf5-2646f917adb5b2e17404260e433dc3ed7c39a602.zip hdf5-2646f917adb5b2e17404260e433dc3ed7c39a602.tar.gz hdf5-2646f917adb5b2e17404260e433dc3ed7c39a602.tar.bz2 |
Cleaned up feature for dissemination to LLNL:
- Removed support for datatypes.
- Commented out support for groups
- General change clean-up
- Added a list of improvements to BRANCH.txt
Diffstat (limited to 'src/H5O.c')
-rw-r--r-- | src/H5O.c | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -1069,18 +1069,14 @@ H5Oclose(hid_t object_id) /* Get the type of the object and close it in the correct way */ switch(H5I_get_type(object_id)) { case H5I_GROUP: + case H5I_DATATYPE: case H5I_DATASET: if(H5I_object(object_id) == NULL) HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "not a valid object") if(H5I_dec_app_ref(object_id) < 0) HGOTO_ERROR(H5E_OHDR, H5E_CANTRELEASE, FAIL, "unable to close object") break; - case H5I_DATATYPE: - if(H5I_object(object_id) == NULL) - HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "not a valid object") - if(H5T_close_id(object_id) < 0) - HGOTO_ERROR(H5E_OHDR, H5E_CANTRELEASE, FAIL, "unable to close object") - break; + case H5I_UNINIT: case H5I_BADID: case H5I_FILE: |