diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-20 19:28:40 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-08-20 19:28:40 (GMT) |
commit | b7d43b0cf0c750031b60937b7dc2eaf0d8a803eb (patch) | |
tree | a451641fa5cb4965b40103576ec53beef49e66e4 /tools/h5dump/h5dump.h | |
parent | 96b3c145b7b8e033fff6504a5dbb88c78c42219b (diff) | |
download | hdf5-b7d43b0cf0c750031b60937b7dc2eaf0d8a803eb.zip hdf5-b7d43b0cf0c750031b60937b7dc2eaf0d8a803eb.tar.gz hdf5-b7d43b0cf0c750031b60937b7dc2eaf0d8a803eb.tar.bz2 |
[svn-r11283] Purpose:
Code cleanup
Description:
Clean up code somewhat:
- Move from HDmemset() -> H5G_ent_reset() to clear out group entry info
- Simplify H5G_unlink() call
- Use portability macros instead of direct system calls in more places
- Improve readbility by neatening whitespace, etc.
- Move some macros into source code module instead of header files
Platforms tested:
FreeBSD 4.11 (sleipnir)
Linux 2.4
Diffstat (limited to 'tools/h5dump/h5dump.h')
-rw-r--r-- | tools/h5dump/h5dump.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/h5dump/h5dump.h b/tools/h5dump/h5dump.h index ba1eab2..96e7d71 100644 --- a/tools/h5dump/h5dump.h +++ b/tools/h5dump/h5dump.h @@ -18,19 +18,4 @@ #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) \ - if(HDstrlen(end)) \ - printf("%s", end); \ - if(HDstrlen(end) && HDstrlen(obj)) \ - printf(" "); \ - if(HDstrlen(obj)) \ - printf("%s", obj); \ - printf("\n"); - #endif /* !H5DUMP_H__ */ |