diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-01-22 21:53:30 (GMT) |
---|---|---|
committer | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2015-01-22 21:53:30 (GMT) |
commit | 324f087d050863aee2ab0222b4ed1a56301a3185 (patch) | |
tree | 79225ea538b9f9d9af9d7678f3918a7190ca9681 /fortran/src/H5Rff.f90 | |
parent | 543a8d9d8658beccbd2e04a2c1d0597b74073a56 (diff) | |
download | hdf5-324f087d050863aee2ab0222b4ed1a56301a3185.zip hdf5-324f087d050863aee2ab0222b4ed1a56301a3185.tar.gz hdf5-324f087d050863aee2ab0222b4ed1a56301a3185.tar.bz2 |
[svn-r26009] Code Comment cleanup:
-----------------------
Remove the numbers in the comments associated with:
H5G_UNKNOWN_F (-1)
H5G_LINK_F 0
H5G_GROUP_F 1
H5G_DATASET_F 2
H5G_TYPE_F 3
These should not be defined as a number since they can changed. They should be considered named parameters, not actual values.
HDFFV-9040
h5rget_object_type_f returns different types than indicated by API
Diffstat (limited to 'fortran/src/H5Rff.f90')
-rw-r--r-- | fortran/src/H5Rff.f90 | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/fortran/src/H5Rff.f90 b/fortran/src/H5Rff.f90 index 64f1365..77a1ff8 100644 --- a/fortran/src/H5Rff.f90 +++ b/fortran/src/H5Rff.f90 @@ -75,11 +75,10 @@ CONTAINS ! ref - reference to open ! OUTPUTS ! obj_type - object_type, possible values: -! H5G_UNKNOWN_F (-1) -! H5G_GROUP_F 0 -! H5G_DATASET_F 1 -! H5G_TYPE_F 2 -! H5G_LINK_F 3 +! H5G_UNKNOWN_F +! H5G_GROUP_F +! H5G_DATASET_F +! H5G_TYPE_F ! hdferr - Returns 0 if successful and -1 if fails ! ! AUTHOR @@ -100,11 +99,10 @@ CONTAINS INTEGER(HID_T), INTENT(IN) :: dset_id ! Dataset identifier TYPE(hobj_ref_t_f), INTENT(IN) :: ref ! Object reference INTEGER, INTENT(OUT) :: obj_type ! Object type - ! H5G_UNKNOWN_F (-1) - ! H5G_GROUP_F 0 - ! H5G_DATASET_F 1 - ! H5G_TYPE_F 2 - ! H5G_LINK_F 3 + ! H5G_UNKNOWN_F + ! H5G_GROUP_F + ! H5G_DATASET_F + ! H5G_TYPE_F INTEGER, INTENT(OUT) :: hdferr ! Error code !***** INTEGER(HADDR_T) :: ref_f ! Local buffer to pass reference |