summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.h
blob: 6e4c54f5a17d8af1225eef60feecc7925072c98a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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__ */