diff options
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -2890,6 +2890,21 @@ H5_trace (const double *returning, const char *func, const char *type, ...) } break; + case 't': + if (ptr) { + if (vp) { + fprintf (out, "0x%lx", (unsigned long)vp); + } else { + fprintf(out, "NULL"); + } + } else { + htri_t tri_var = va_arg (ap, htri_t); + if (tri_var>0) fprintf (out, "TRUE"); + else if (!tri_var) fprintf (out, "FALSE"); + else fprintf (out, "FAIL(%d)", (int)tri_var); + } + break; + case 'x': if (ptr) { if (vp) { |