diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-12-18 13:43:21 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-12-18 13:43:21 (GMT) |
commit | e77303f48370403e04b4185aa54fb6417e1e52fa (patch) | |
tree | 57c03b720dc5e8273f147c7dd80806b8aa12b15b /src/H5Bpkg.h | |
parent | 86fb2794d6b12431edcd2a57f6c048e7e1c4e628 (diff) | |
download | hdf5-e77303f48370403e04b4185aa54fb6417e1e52fa.zip hdf5-e77303f48370403e04b4185aa54fb6417e1e52fa.tar.gz hdf5-e77303f48370403e04b4185aa54fb6417e1e52fa.tar.bz2 |
[svn-r16204] Description:
Moved v1 B-tree debugging routines into separate module and thinned
out header files a bit.
Tested on:
Mac OS X/32 10.5.5 (amazon) in debug mode
Mac OS X/32 10.5.5 (amazon) w/C++ & FORTRAN, w/threadsafe,
in production mode
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64-amd64 2.6 (smirom) w/Intel compilers w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
Diffstat (limited to 'src/H5Bpkg.h')
-rw-r--r-- | src/H5Bpkg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/H5Bpkg.h b/src/H5Bpkg.h index 7f1fd37..ddabf52 100644 --- a/src/H5Bpkg.h +++ b/src/H5Bpkg.h @@ -32,12 +32,15 @@ #include "H5Bprivate.h" /* Other private headers needed by this file */ -#include "H5RCprivate.h" /* Reference counted objects */ /**************************/ /* Package Private Macros */ /**************************/ +/* Get the native key at a given index */ +#define H5B_NKEY(b, shared, idx) ((b)->native + (shared)->nkey[(idx)]) + + /****************************/ /* Package Private Typedefs */ /****************************/ @@ -75,6 +78,10 @@ H5FL_EXTERN(H5B_t); /* Package Private Prototypes */ /******************************/ H5_DLL herr_t H5B_dest(H5F_t *f, H5B_t *b); +#ifdef H5B_DEBUG +herr_t H5B_assert(H5F_t *f, hid_t dxpl_id, haddr_t addr, const H5B_class_t *type, + void *udata); +#endif #endif /*_H5Bpkg_H*/ |