diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2008-12-18 13:52:50 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2008-12-18 13:52:50 (GMT) |
commit | 58a925fe4c566d4b72f3cce268f207852cecae02 (patch) | |
tree | f56f9c8b7c6d172cb81f35f57aa77a641b0f9ad2 /src/H5Bpkg.h | |
parent | 3fbec7d04f476361af8794defdc82ccfbebc0a8f (diff) | |
download | hdf5-58a925fe4c566d4b72f3cce268f207852cecae02.zip hdf5-58a925fe4c566d4b72f3cce268f207852cecae02.tar.gz hdf5-58a925fe4c566d4b72f3cce268f207852cecae02.tar.bz2 |
[svn-r16205] Description:
Bring r16204 back from trunk:
Moved v1 B-tree debugging routines into separate module and thinned
out header files a bit.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
Too minor to require h5committest
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*/ |