diff --git a/prick.org b/prick.org deleted file mode 100644 index 6abf5dd..0000000 --- a/prick.org +++ /dev/null @@ -1,18 +0,0 @@ -#+title: Prick tasks -#+author: Aryadev Chavali -#+date: 2025-12-11 -#+filetags: c prick - -* prick_darr :prick_darr: -** TODO Use custom allocator -Allow users to provide custom allocator functions. They need to -provide: -- alloc -- realloc -- free -* prick_btree :prick_btree: -** TODO Pack custom user functions into their own structure -The allocation/print routines should be in their own structure which -the user passes in. - -This means we don't need to have a prick_btree_t structure at all. diff --git a/prick_btree.h b/prick_btree.h index 822818a..24724df 100644 --- a/prick_btree.h +++ b/prick_btree.h @@ -11,6 +11,10 @@ An ordered binary tree implementation, allowing the use of custom comparators and allocators. + + Tasks: + - TODO: Pack user custom functions (allocate, comparison, etc) into a + structure. */ #ifndef PRICK_BTREE_H diff --git a/prick_darr.h b/prick_darr.h index 3ca74ec..126d630 100644 --- a/prick_darr.h +++ b/prick_darr.h @@ -22,6 +22,10 @@ You may want to consider prick_vec.h if you want to more explicit control of the dynamic array, and would like a stable pointer to the container itself. + + Tasks: + - TODO: Implement ability to use a custom allocator. + - TODO: QoL shorthand macro. */ #ifndef PRICK_DARR_H