summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r--tools/h5dump.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index f50f487..5af3327 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -317,7 +317,9 @@ H5G_stat_t statbuf;
}
break;
-
+ case H5T_REFERENCE:
+ printf("H5T_REFERENCE");
+ break;
default:
printf( "unknown data type");
status = 1;
@@ -471,7 +473,7 @@ hid_t attr_id, type, space;
if (display_data) dump_data(attr_id, ATTRIBUTE_DATA);
H5Tclose(type);
H5Sclose(space);
- H5Aclose (attr_id);
+ H5Aclose (attr_id);
indentation (indent);
end_obj();
@@ -929,6 +931,9 @@ hid_t type, space;
case H5T_COMPOUND:
dump_data(did, DATASET_DATA);
break;
+ case H5T_REFERENCE:
+ dump_data(did, DATASET_DATA);
+ break;
default: break;
}