6 Commits

Author SHA1 Message Date
Aryadev Chavali
324b1d2dd5 prick_btree: rearrange prick_bnode_print function arguments 2025-11-25 19:14:46 +00:00
Aryadev Chavali
9b7a5af6ec prick_btree: Add assertion to ensure all management functions aren't NULL 2025-11-25 19:08:00 +00:00
Aryadev Chavali
8783361010 prick_btree: add custom printing function for values
Something you can feed in to the init function to be used by the
printer functions.
2025-11-25 19:07:23 +00:00
Aryadev Chavali
d3c284f762 prick_btree: refactor for namespacing
everything should have a `prick_` prepended name.  Just makes sense.
2025-11-25 18:50:22 +00:00
Aryadev Chavali
3ca2f3fb2a prick_btree: provide a general btree_t structure
This structure stores our comparator and allocator functions, as well
as a root node, ensuring we're using the same functions on one tree.
Makes the API much cleaner to use.
2025-11-17 01:05:09 +00:00
Aryadev Chavali
6d91af65aa prick_btree
Still need to make it better imo
2025-11-17 00:56:28 +00:00