diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2015-03-04 14:08:58 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2015-03-04 14:08:58 (GMT) |
commit | 1aa5cd4fa5d87b0a46607caa6323c20f4b922cae (patch) | |
tree | 708df2e5c109326d97db80e6097e35d1ec5d8a87 /tools/lib/h5tools_dump.c | |
parent | f1c4d0ff3fbdfcebf3a22a24c26f1d69ecb3a5fe (diff) | |
download | hdf5-1aa5cd4fa5d87b0a46607caa6323c20f4b922cae.zip hdf5-1aa5cd4fa5d87b0a46607caa6323c20f4b922cae.tar.gz hdf5-1aa5cd4fa5d87b0a46607caa6323c20f4b922cae.tar.bz2 |
[svn-r26353] Add VDS selection defines for ALL and NONE
Diffstat (limited to 'tools/lib/h5tools_dump.c')
-rw-r--r-- | tools/lib/h5tools_dump.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/lib/h5tools_dump.c b/tools/lib/h5tools_dump.c index 3fee4d1..5e9cb4c 100644 --- a/tools/lib/h5tools_dump.c +++ b/tools/lib/h5tools_dump.c @@ -2868,7 +2868,7 @@ h5tools_print_virtual_selection(h5tools_str_t *buffer, const h5tool_format_t *in h5tools_str_append(buffer, "%s", h5tools_dump_header_format->virtualselectionbegin); switch(H5Sget_select_type(vspace)) { case H5S_SEL_NONE: /* Nothing selected */ - h5tools_str_append(buffer, "NONE"); + h5tools_str_append(buffer, "%s", VDS_NONE); break; case H5S_SEL_POINTS: /* Sequence of points selected */ h5tools_str_append(buffer, "%s %s ", VDS_POINT, h5tools_dump_header_format->virtualselectionblockbegin); @@ -2887,7 +2887,7 @@ h5tools_print_virtual_selection(h5tools_str_t *buffer, const h5tool_format_t *in h5tools_str_append(buffer, "%s", h5tools_dump_header_format->virtualselectionblockend); break; case H5S_SEL_ALL: /* Entire extent selected */ - h5tools_str_append(buffer, "ALL"); + h5tools_str_append(buffer, "%s", VDS_ALL); break; default: h5tools_str_append(buffer, "Unknown Selection"); |