summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dump.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-02-22 21:53:30 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-02-22 21:53:30 (GMT)
commit416a86e3ce3b967553003267a6e77c037e21815f (patch)
tree8f5ab1478acd23215c797b66730b784609c9c297 /tools/h5dump/h5dump.h
parent20061988ec9daa96b5d5b9aaed75af587d582a0e (diff)
downloadhdf5-416a86e3ce3b967553003267a6e77c037e21815f.zip
hdf5-416a86e3ce3b967553003267a6e77c037e21815f.tar.gz
hdf5-416a86e3ce3b967553003267a6e77c037e21815f.tar.bz2
[svn-r3488] Purpose:
Code Movement Description: Moved tools code into their own special subdirectories. Platforms tested: Linux, Kelgia
Diffstat (limited to 'tools/h5dump/h5dump.h')
-rw-r--r--tools/h5dump/h5dump.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/h5dump/h5dump.h b/tools/h5dump/h5dump.h
new file mode 100644
index 0000000..70c4178
--- /dev/null
+++ b/tools/h5dump/h5dump.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (C) 1998-2001 National Center for Supercomputing Applications
+ * All rights reserved.
+ *
+ */
+#ifndef H5DUMP_H__
+#define H5DUMP_H__
+
+#include "hdf5.h"
+
+#define H5DUMP_MAX_RANK H5S_MAX_RANK
+
+#define begin_obj(obj,name,begin) \
+ if (name) \
+ printf("%s \"%s\" %s\n", (obj), (name), (begin)); \
+ else \
+ printf("%s %s\n", (obj), (begin));
+
+#define end_obj(obj,end) \
+ printf("%s %s\n", (end), (obj));
+
+#endif /* !H5DUMP_H__ */