diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-04 17:43:56 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-01-04 17:43:56 (GMT) |
commit | c0b966ba1b3f7fb34a5228b6261a6a2b767c0d96 (patch) | |
tree | fb621ed2757b631e8652050c71d42db3bcd1b62e /src/H5trace.c | |
parent | da95bdb88f848841441289051eade20d9cd7f637 (diff) | |
download | hdf5-c0b966ba1b3f7fb34a5228b6261a6a2b767c0d96.zip hdf5-c0b966ba1b3f7fb34a5228b6261a6a2b767c0d96.tar.gz hdf5-c0b966ba1b3f7fb34a5228b6261a6a2b767c0d96.tar.bz2 |
[svn-r14374] Description:
Updates from running bin/reconfigure on recent changes, in preparation for
making private snapshot. Also updated tracing information for recent types
added to public API routines.
Tested on:
Linux/32 2.6.x (kagiso)
Diffstat (limited to 'src/H5trace.c')
-rw-r--r-- | src/H5trace.c | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/H5trace.c b/src/H5trace.c index 0ad99b2..c709e8a 100644 --- a/src/H5trace.c +++ b/src/H5trace.c @@ -647,6 +647,26 @@ H5_trace (const double *returning, const char *func, const char *type, ...) } break; + case 'v': + if(ptr) { + if(vp) + fprintf(out, "0x%lx", (unsigned long)vp); + else + fprintf(out, "NULL"); + } else { + H5F_format_version_t format_vers = va_arg(ap, H5F_format_version_t); /*lint !e64 Type mismatch not really occuring */ + + switch(format_vers) { + case H5F_FORMAT_EARLIEST: + fprintf(out, "H5F_FORMAT_EARLIEST"); + break; + case H5F_FORMAT_LATEST: + fprintf(out, "H5F_FORMAT_LATEST"); + break; + } + } + break; + default: fprintf(out, "BADTYPE(F%c)", type[1]); goto error; |