summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1998-10-19 22:25:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1998-10-19 22:25:03 (GMT)
commitcd4af9da246ec1d8b993194b9091be4427422d05 (patch)
tree3a51a9e7c3c69cbda26c23f67dcf342bf256cbac /src/H5.c
parentc1d2006c0fe7b2e565a78f25b649d9b463c557bf (diff)
downloadhdf5-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.c33
1 files changed, 7 insertions, 26 deletions
diff --git a/src/H5.c b/src/H5.c
index f0de26e..8e35cc9 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -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;