From a407458a893fd0716cfee564ad98756364c25a7a Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Mon, 24 Mar 2025 18:10:58 -0500 Subject: Change the name of readwholebuffer and writewholebuffer so that they won't autocomplete when typing "return" --- src/ll.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ll.h') diff --git a/src/ll.h b/src/ll.h index 1f4b3b2..3d8ecc1 100644 --- a/src/ll.h +++ b/src/ll.h @@ -8,7 +8,7 @@ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*//* // // // dlinkedlist functions should be considered X_ALLOC functions, as they call xcalloc to initialize new nodes. This is not // -// reflected in their naming, which could change later, but as of know it is something to keep in mind. This means ABSOLUETLY NO // +// reflected in their naming, which could change later, but as of now it is something to keep in mind. This means ABSOLUETLY NO // // USE OF DLINKEDLIST FUNCTIONS INSIDE ENCRYPTION FUNCTIONS, OR ANYTHING THAT SHOULD BE CONSIDERED ATOMIC OR SEMI-ATOMIC. IF // // XCALLOC ERRORS FOR ANY REASON, AND YOU'RE DOING SOMETHING WITH THESE IN AN (SEMI)ATOMIC FUNCTION, YOU WILL BREAK SHIT // // // @@ -18,6 +18,9 @@ // BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WARNING BIG WA // //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////*/ +/* TODO: Implement a way to register a set of alloc functions to a linked list so I can give it arenas for memory allocation +// instead of just xcalloc */ + typedef int (*dll_freecb)(void*); typedef struct dlinked dlinkedlist; -- cgit v1.2.3