summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5tools.h
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-12-11 18:28:33 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2020-05-20 14:20:20 (GMT)
commit34518626c4c2a2eb557638b69cf82023a53fadd9 (patch)
tree10923c9b5cc97427ac17b796d73a14b8209f12c2 /tools/lib/h5tools.h
parentc1eae1a6594ba23e5bc4e6590f84b58b84733d86 (diff)
downloadhdf5-34518626c4c2a2eb557638b69cf82023a53fadd9.zip
hdf5-34518626c4c2a2eb557638b69cf82023a53fadd9.tar.gz
hdf5-34518626c4c2a2eb557638b69cf82023a53fadd9.tar.bz2
Fix issues found with ONLY_SHARED_LIBS option
Diffstat (limited to 'tools/lib/h5tools.h')
-rw-r--r--tools/lib/h5tools.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h
index 11ba612..dad4af7 100644
--- a/tools/lib/h5tools.h
+++ b/tools/lib/h5tools.h
@@ -504,6 +504,19 @@ typedef struct h5tool_format_t {
} h5tool_format_t;
+typedef struct subset_d {
+ hsize_t *data;
+ unsigned int len;
+} subset_d;
+
+/* a structure to hold the subsetting particulars for a dataset */
+struct subset_t {
+ subset_d start;
+ subset_d stride;
+ subset_d count;
+ subset_d block;
+};
+
typedef struct h5tools_context_t {
size_t cur_column; /* current column for output */
size_t cur_elmt; /* current element/output line */
@@ -523,22 +536,9 @@ typedef struct h5tools_context_t {
const struct H5LD_memb_t * const *cmpd_listv; /* h5watch: vector containing info about the list of compound fields to be printed */
struct subset_t *sset; /* subsetting parameters */
int display_index; /* */
- int display_char; /* */
+ int display_char; /* */
} h5tools_context_t;
-typedef struct subset_d {
- hsize_t *data;
- unsigned int len;
-} subset_d;
-
-/* a structure to hold the subsetting particulars for a dataset */
-struct subset_t {
- subset_d start;
- subset_d stride;
- subset_d count;
- subset_d block;
-};
-
/* The following include, h5tools_str.h, must be after the
* above stucts are defined. There is a dependency in the following
* include that hasn't been identified yet. */