diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-05 23:41:30 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-05 23:41:30 (GMT) |
commit | 9d11032a9814084d30a27e74ed5a3794c5c0573a (patch) | |
tree | 1c1317e1f02200aa48484ec9b0b974f95d878bf1 /src/H5.c | |
parent | 8a2ecf8fa6100c391a622fdaa9bdad4a8a56b7c2 (diff) | |
download | hdf5-9d11032a9814084d30a27e74ed5a3794c5c0573a.zip hdf5-9d11032a9814084d30a27e74ed5a3794c5c0573a.tar.gz hdf5-9d11032a9814084d30a27e74ed5a3794c5c0573a.tar.bz2 |
[svn-r737] Changed H5I groups to have a H5I_ prefix before them, to better align with the
library.
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 36 |
1 files changed, 18 insertions, 18 deletions
@@ -1530,36 +1530,36 @@ H5_trace (hbool_t returning, const char *func, const char *type, ...) } else if (FAIL==obj) { fprintf (out, "FAIL"); } else { - switch (H5I_group (obj)) { - case BADGROUP: + switch (H5I_get_type (obj)) { + case H5I_BADID: fprintf (out, "%ld (error)", (long)obj); break; - case H5_FILE: + case H5I_FILE: fprintf(out, "%ld", (long)obj); if (HDstrcmp (argname, "file")) { fprintf (out, " (file)"); } break; - case H5_TEMPLATE_0: - case H5_TEMPLATE_1: - case H5_TEMPLATE_2: - case H5_TEMPLATE_3: - case H5_TEMPLATE_4: - case H5_TEMPLATE_5: - case H5_TEMPLATE_6: - case H5_TEMPLATE_7: + case H5I_TEMPLATE_0: + case H5I_TEMPLATE_1: + case H5I_TEMPLATE_2: + case H5I_TEMPLATE_3: + case H5I_TEMPLATE_4: + case H5I_TEMPLATE_5: + case H5I_TEMPLATE_6: + case H5I_TEMPLATE_7: fprintf(out, "%ld", (long)obj); if (HDstrcmp (argname, "plist")) { fprintf (out, " (plist)"); } break; - case H5_GROUP: + case H5I_GROUP: fprintf(out, "%ld", (long)obj); if (HDstrcmp (argname, "group")) { fprintf (out, " (group)"); } break; - case H5_DATATYPE: + case H5I_DATATYPE: if (obj==H5T_NATIVE_CHAR_g) { fprintf(out, "H5T_NATIVE_CHAR"); } else if (obj==H5T_NATIVE_UCHAR_g) { @@ -1653,7 +1653,7 @@ H5_trace (hbool_t returning, const char *func, const char *type, ...) } } break; - case H5_DATASPACE: + case H5I_DATASPACE: fprintf(out, "%ld", (long)obj); if (HDstrcmp (argname, "space")) { fprintf (out, " (space)"); @@ -1666,25 +1666,25 @@ H5_trace (hbool_t returning, const char *func, const char *type, ...) } } break; - case H5_DATASET: + case H5I_DATASET: fprintf(out, "%ld", (long)obj); if (HDstrcmp (argname, "dset")) { fprintf (out, " (dset)"); } break; - case H5_ATTR: + case H5I_ATTR: fprintf(out, "%ld", (long)obj); if (HDstrcmp (argname, "attr")) { fprintf (out, " (attr)"); } break; - case H5_TEMPBUF: + case H5I_TEMPBUF: fprintf(out, "%ld", (long)obj); if (HDstrcmp(argname, "tbuf")) { fprintf(out, " (tbuf"); } break; - case H5_RAGGED: + case H5I_RAGGED: fprintf(out, "%ld", (long)obj); if (HDstrcmp(argname, "array")) { fprintf(out, " (array)"); |