Commit Graph

11 Commits

Author SHA1 Message Date
Aryadev Chavali
192efb5aef prick_sv|prick_btree: some tasks 2026-03-17 21:05:38 +00:00
Aryadev Chavali
ead8983ded deleted prick.org and split TODOs into header files
Makes more sense - any users of libraries should be aware of what
tasks are to be done, even if they don't have access to the repo
itself.
2026-03-17 20:28:28 +00:00
Aryadev Chavali
97403121a3 prick_btree: simplicity is king
no need for helpers, just force the user to pass in the relevant
components when required.
2026-01-22 18:10:42 +00:00
Aryadev Chavali
f93f0d46ae Indentation 2025-12-11 21:13:27 +00:00
Aryadev Chavali
9a62cd34f4 Actually use the custom print function in prick_bnode_print for value 2025-12-11 21:11:56 +00:00
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