From ead8983dedb3e7875e976be05f6a8e95f87001b6 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 17 Mar 2026 20:28:02 +0000 Subject: [PATCH] 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. --- prick.org | 18 ------------------ prick_btree.h | 4 ++++ prick_darr.h | 4 ++++ 3 files changed, 8 insertions(+), 18 deletions(-) delete mode 100644 prick.org 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