diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-19 22:25:03 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1998-10-19 22:25:03 (GMT) |
commit | cd4af9da246ec1d8b993194b9091be4427422d05 (patch) | |
tree | 3a51a9e7c3c69cbda26c23f67dcf342bf256cbac /src/H5.c | |
parent | c1d2006c0fe7b2e565a78f25b649d9b463c557bf (diff) | |
download | hdf5-cd4af9da246ec1d8b993194b9091be4427422d05.zip hdf5-cd4af9da246ec1d8b993194b9091be4427422d05.tar.gz hdf5-cd4af9da246ec1d8b993194b9091be4427422d05.tar.bz2 |
[svn-r766] Checkpointing the reference code.
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 33 |
1 files changed, 7 insertions, 26 deletions
@@ -1938,33 +1938,14 @@ H5_trace (hbool_t returning, const char *func, const char *type, ...) case 'r': if (ptr) { - if (vp) { - fprintf (out, "0x%lx", (unsigned long)vp); - } else { - fprintf(out, "NULL"); - } + if (vp) { + fprintf (out, "0x%lx", (unsigned long)vp); + } else { + fprintf(out, "NULL"); + } } else { - href_t ref = va_arg (ap, href_t); - switch (ref.type) { - case H5R_BADTYPE: - fprintf (out, "H5R_BADTYPE"); - break; - case H5R_OBJECT: - fprintf (out, "H5R_OBJECT"); - break; - case H5R_DATASET_REGION: - fprintf (out, "H5R_DATASET_REGION"); - break; - case H5R_INTERNAL: - fprintf (out, "H5R_INTERNAL"); - break; - case H5R_MAXTYPE: - fprintf (out, "H5R_MAXTYPE"); - break; - default: - fprintf (out, "BADTYPE(%ld)", (long)ref.type); - break; - } + href_t ref = va_arg (ap, href_t); + fprintf (out, "Reference Object=%p", &ref); } break; |