Mercurial > hg > piper-cpp
comparison ext/sord/src/zix/btree.c @ 245:b32c68f08ec0
Use local sord/serd build
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Thu, 15 Jun 2017 09:38:52 +0100 |
parents | c5cdc9e6a4bf |
children |
comparison
equal
deleted
inserted
replaced
244:f548eb11ae01 | 245:b32c68f08ec0 |
---|---|
18 #include <stdint.h> | 18 #include <stdint.h> |
19 #include <stdio.h> | 19 #include <stdio.h> |
20 #include <stdlib.h> | 20 #include <stdlib.h> |
21 #include <string.h> | 21 #include <string.h> |
22 | 22 |
23 #include "zix/btree.h" | 23 #include "btree.h" |
24 | 24 |
25 // #define ZIX_BTREE_DEBUG 1 | 25 // #define ZIX_BTREE_DEBUG 1 |
26 | 26 |
27 #define ZIX_BTREE_PAGE_SIZE 4096 | 27 #define ZIX_BTREE_PAGE_SIZE 4096 |
28 #define ZIX_BTREE_NODE_SPACE (ZIX_BTREE_PAGE_SIZE - 2 * sizeof(uint16_t)) | 28 #define ZIX_BTREE_NODE_SPACE (ZIX_BTREE_PAGE_SIZE - 2 * sizeof(uint16_t)) |