summaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-03-06 17:53:56 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-03-06 17:53:56 (GMT)
commit9cdf806eec4e66802fb0a544ba19f46a532154bb (patch)
tree63c21e6e07bcf3b4381feb5f8d07fef5bc246751 /tools/lib
parent802fac804d69bf7d33043a8d21321640ac1786dd (diff)
downloadhdf5-9cdf806eec4e66802fb0a544ba19f46a532154bb.zip
hdf5-9cdf806eec4e66802fb0a544ba19f46a532154bb.tar.gz
hdf5-9cdf806eec4e66802fb0a544ba19f46a532154bb.tar.bz2
[svn-r26383] Add MAPPING to VDS output
Diffstat (limited to 'tools/lib')
-rw-r--r--tools/lib/h5tools.h1
-rw-r--r--tools/lib/h5tools_dump.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h
index 1ddc584..cf841e5 100644
--- a/tools/lib/h5tools.h
+++ b/tools/lib/h5tools.h
@@ -94,6 +94,7 @@
#define PACKED_OFFSET "OFFSET"
#define PACKED_LENGTH "LENGTH"
#define VDS_VIRTUAL "VIRTUAL"
+#define VDS_MAPPING "MAPPING"
#define VDS_REG_HYPERSLAB "REGULAR_HYPERSLAB"
#define VDS_IRR_HYPERSLAB "IRREGULAR_HYPERSLAB"
#define VDS_POINT "POINT"
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c
index 5e9cb4c..3708ce8 100644
--- a/tools/lib/h5tools_dump.c
+++ b/tools/lib/h5tools_dump.c
@@ -3156,7 +3156,7 @@ h5tools_dump_dcpl(FILE *stream, const h5tool_format_t *info,
h5tools_simple_prefix(stream, info, ctx, curr_pos, 0);
h5tools_str_reset(&buffer);
- h5tools_str_append(&buffer, "%s ", BEGIN);
+ h5tools_str_append(&buffer, "%s %ld %s ", VDS_MAPPING, next, BEGIN);
h5tools_render_element(stream, info, ctx, &buffer, &curr_pos, (size_t) ncols, (hsize_t) 0, (hsize_t) 0);
ctx->indent_level++;