summaryrefslogtreecommitdiffstats
path: root/src/H5B2pkg.h
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-02-09 21:32:07 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-02-09 21:32:07 (GMT)
commit9f76f83f48271a3966e0afdaf25fcc412b402d4d (patch)
tree0303930db749054b87fa91f2db80cc187a1635d4 /src/H5B2pkg.h
parentf3d0c37f910e0b5e9cd4cd5fc5fa3885f0c3904d (diff)
downloadhdf5-9f76f83f48271a3966e0afdaf25fcc412b402d4d.zip
hdf5-9f76f83f48271a3966e0afdaf25fcc412b402d4d.tar.gz
hdf5-9f76f83f48271a3966e0afdaf25fcc412b402d4d.tar.bz2
[svn-r9971] Purpose:
New feature Description: Checkpoint v2 B-tree code after getting 2 leaf record redistribution working and tested. Platforms tested: FreeBSD 4.11 (sleipnir) w/parallel Too minor to require h5committest
Diffstat (limited to 'src/H5B2pkg.h')
-rw-r--r--src/H5B2pkg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/H5B2pkg.h b/src/H5B2pkg.h
index b6aa65c..f330924 100644
--- a/src/H5B2pkg.h
+++ b/src/H5B2pkg.h
@@ -65,8 +65,13 @@
2 + /* Merge % of full (as integer, ie. "98" means 98%) */ \
H5B2_NODE_POINTER_SIZE(f)) /* Node pointer to root node in tree */
-/* Macro to retrieve pointer to i'th native key for leaf node */
+/* Macro to retrieve pointer to i'th native key for native record buffer */
+#define H5B2_NAT_NREC(b,shared,idx) (b+(shared)->nat_off[(idx)])
+
+/* Macro to retrieve pointer to i'th native key for internal node */
#define H5B2_INT_NREC(i,shared,idx) ((i)->int_native+(shared)->nat_off[(idx)])
+
+/* Macro to retrieve pointer to i'th native key for leaf node */
#define H5B2_LEAF_NREC(l,shared,idx) ((l)->leaf_native+(shared)->nat_off[(idx)])