aboutsummaryrefslogtreecommitdiff
path: root/src/common/libalgo/btree.c
diff options
context:
space:
mode:
authorAlex Auvolat <alex.auvolat@ens.fr>2015-02-14 19:59:50 +0100
committerAlex Auvolat <alex.auvolat@ens.fr>2015-02-14 19:59:50 +0100
commitdc86ed35a4a41ab53bb595e69fe57c29264fd146 (patch)
treefee2b87d32919d5ddb158ef2254546c7543b3ee4 /src/common/libalgo/btree.c
parentddd908706354fa9c4e2dbaa9f62b11078b06bf19 (diff)
downloadkogata-dc86ed35a4a41ab53bb595e69fe57c29264fd146.tar.gz
kogata-dc86ed35a4a41ab53bb595e69fe57c29264fd146.zip
Add lower/upper bound test ; fix id_key_cmp_fun.
Diffstat (limited to 'src/common/libalgo/btree.c')
-rw-r--r--src/common/libalgo/btree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/libalgo/btree.c b/src/common/libalgo/btree.c
index 08a43ef..20323aa 100644
--- a/src/common/libalgo/btree.c
+++ b/src/common/libalgo/btree.c
@@ -261,6 +261,7 @@ void* btree_upper(btree_t *t, const void* key) {
return i->val;
}
+
void btree_iter(btree_t *t, kv_iter_fun_t f) {
void iter_aux(btree_item_t *i, kv_iter_fun_t f) {
if (i == 0) return;