diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-06-29 21:03:33 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-06-29 21:03:33 (GMT) |
commit | b51c4f6d24fa95c3ae9c465880a2256a86bb7b47 (patch) | |
tree | 3cbd4a2addcf0654730ae74f0b842cc15aa471ee /src/H5.c | |
parent | d4eec2cb073e4e9f02ca990cbd93480e526a130e (diff) | |
download | hdf5-b51c4f6d24fa95c3ae9c465880a2256a86bb7b47.zip hdf5-b51c4f6d24fa95c3ae9c465880a2256a86bb7b47.tar.gz hdf5-b51c4f6d24fa95c3ae9c465880a2256a86bb7b47.tar.bz2 |
[svn-r8760] Purpose:
Code cleanup & small bug fix
Description:
Regenerate dependency files
Add htri_t as separate type from hbool_t for code tracing purposes.
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
too minor to require h5committest
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) { |