summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-02-17 17:11:03 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-02-17 17:11:03 (GMT)
commit0475dd9a702c1308602e920dc03648478cfafd05 (patch)
treebe28d463b4c8353ea7db4a1f39547570018b39f2 /src/H5.c
parent946c606452ec59397675b7b807b3280258e39726 (diff)
downloadhdf5-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.c46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/H5.c b/src/H5.c
index 08fdaec..e40f7ca 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -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) {