diff options
Diffstat (limited to 'tools/h5dump/h5dump.h')
-rw-r--r-- | tools/h5dump/h5dump.h | 22 |
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__ */ |