diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2003-02-17 17:11:03 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2003-02-17 17:11:03 (GMT) |
commit | 0475dd9a702c1308602e920dc03648478cfafd05 (patch) | |
tree | be28d463b4c8353ea7db4a1f39547570018b39f2 /src/H5.c | |
parent | 946c606452ec59397675b7b807b3280258e39726 (diff) | |
download | hdf5-0475dd9a702c1308602e920dc03648478cfafd05.zip hdf5-0475dd9a702c1308602e920dc03648478cfafd05.tar.gz hdf5-0475dd9a702c1308602e920dc03648478cfafd05.tar.bz2 |
[svn-r6412] Purpose:
Code cleanup
Description:
Update dependencies and clean up a few warnings.
Platforms tested:
Linux 2.2 (eirene) w/parallel
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 46 |
1 files changed, 46 insertions, 0 deletions
@@ -2542,6 +2542,32 @@ H5_trace (double *returning, const char *func, const char *type, ...) } break; + case 'd': + if (ptr) { + if (vp) { + fprintf (out, "0x%lx", (unsigned long)vp); + } else { + fprintf(out, "NULL"); + } + } else { + H5T_direction_t direct = va_arg (ap, H5T_direction_t); + switch (direct) { + case H5T_DIR_DEFAULT: + fprintf (out, "H5T_DIR_DEFAULT"); + break; + case H5T_DIR_ASCEND: + fprintf (out, "H5T_DIR_ASCEND"); + break; + case H5T_DIR_DESCEND: + fprintf (out, "H5T_DIR_DESCEND"); + break; + default: + fprintf (out, "%ld", (long)direct); + break; + } + } + break; + case 'e': if (ptr) { if (vp) { @@ -2818,6 +2844,26 @@ H5_trace (double *returning, const char *func, const char *type, ...) case 'Z': switch (type[1]) { + case 'e': + if (ptr) { + if (vp) { + fprintf (out, "0x%lx", (unsigned long)vp); + } else { + fprintf(out, "NULL"); + } + } else { + H5Z_EDC_t edc = va_arg (ap, H5Z_EDC_t); + + if (H5Z_DISABLE_EDC==edc) { + fprintf (out, "H5Z_DISABLE_EDC"); + } else if (H5Z_ENABLE_EDC==edc) { + fprintf (out, "H5Z_ENABLE_EDC"); + } else { + fprintf (out, "%ld", (long)edc); + } + } + break; + case 'f': if (ptr) { if (vp) { |