aboutsummaryrefslogtreecommitdiff
path: root/bitmapped_patricia_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'bitmapped_patricia_tree.h')
-rw-r--r--bitmapped_patricia_tree.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitmapped_patricia_tree.h b/bitmapped_patricia_tree.h
index b1a3e32..f1d65c3 100644
--- a/bitmapped_patricia_tree.h
+++ b/bitmapped_patricia_tree.h
@@ -32,8 +32,13 @@ extern "C" {
#define BPT_ENABLE_DEALLOC_HOOKS 1
+#ifdef BPT_EXPLICIT_CONFIGURATION
+typedef BPT_KEY_T bpt_key_t;
+typedef BPT_KEY_BITMASK_T bpt_key_bitmask_t;
+#else
typedef int32_t bpt_key_t;
typedef int32_t bpt_key_bitmask_t;
+#endif //!BPT_EXPLICIT_CONFIGURATION
enum bpt_tag {
BPT_LEAF,