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.
This commit is contained in:
18
prick.org
18
prick.org
@@ -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.
|
|
||||||
@@ -11,6 +11,10 @@
|
|||||||
|
|
||||||
An ordered binary tree implementation, allowing the use of custom comparators
|
An ordered binary tree implementation, allowing the use of custom comparators
|
||||||
and allocators.
|
and allocators.
|
||||||
|
|
||||||
|
Tasks:
|
||||||
|
- TODO: Pack user custom functions (allocate, comparison, etc) into a
|
||||||
|
structure.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PRICK_BTREE_H
|
#ifndef PRICK_BTREE_H
|
||||||
|
|||||||
@@ -22,6 +22,10 @@
|
|||||||
|
|
||||||
You may want to consider prick_vec.h if you want to more explicit control of
|
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.
|
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
|
#ifndef PRICK_DARR_H
|
||||||
|
|||||||
Reference in New Issue
Block a user