diff options
author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-09-01 19:44:42 +0200 |
---|---|---|
committer | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2011-09-01 19:44:42 +0200 |
commit | 35fb513a0814f2d41816ef4aa1211e08e402cdf6 (patch) | |
tree | 0bfae6a3122f64a2e6c074905d76c27cd1e3e98c /bitmapped_patricia_tree.h | |
parent | d17d12b3fa15e1bf69cdfbe3181a63540e0132d1 (diff) |
Rename bpt_leaf.release_hook -> bpt_leaf.dealloc_hook.
Diffstat (limited to 'bitmapped_patricia_tree.h')
-rw-r--r-- | bitmapped_patricia_tree.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitmapped_patricia_tree.h b/bitmapped_patricia_tree.h index 4f47aae..b1a3e32 100644 --- a/bitmapped_patricia_tree.h +++ b/bitmapped_patricia_tree.h @@ -30,7 +30,7 @@ extern "C" { #endif -#define BPT_ENABLE_RELEASE_HOOKS 1 +#define BPT_ENABLE_DEALLOC_HOOKS 1 typedef int32_t bpt_key_t; typedef int32_t bpt_key_bitmask_t; @@ -55,7 +55,7 @@ void bpt_release(bpt_t bpt); void bpt_dealloc(bpt_t bpt); void bpt_seal(bpt_t bpt); -#ifdef BPT_ENABLE_RELEASE_HOOKS +#ifdef BPT_ENABLE_DEALLOC_HOOKS void bpt_set_dealloc_hook(bpt_t bpt, bpt_key_t key, void (*hook)(bpt_key_t key, void* value)); #endif |