Commit Graph

125 Commits

Author SHA1 Message Date
roodletoof 3e80bd2cfd with_borrow macros
this allows for scope-based heap allocations. There is one limitation.
You cannot use the return keyword inside the following block. This trick
uses dark macro magic :)
2025-10-10 20:13:15 +02:00
roodletoof 6e3211ab49 fix constant issue, and make running of test program dependent on successful build 2025-10-09 21:17:29 +02:00
roodletoof 4942d959d5 run tests with valgrind 2025-10-09 20:52:27 +02:00
roodletoof dd983c9834 ignore persistent undo files 2025-10-09 18:30:17 +02:00
roodletoof 93cb628d54 added some docs about how gui will work 2025-10-08 22:33:47 +02:00
roodletoof e95c0204b4 updated README.md with goals of what I want the library to become 2025-10-08 22:28:36 +02:00
roodletoof a20833f4ee borrow allocator implementation 2025-10-08 22:16:31 +02:00
roodletoof 6ffbc05f52 some small progress on the borrow allocator 2025-10-07 20:38:19 +02:00
roodletoof 4463c6a7c5 WIP borrow allocator 2025-10-06 22:26:08 +02:00
roodletoof d394e4fa34 complete buffer allocator 2025-10-06 19:52:20 +02:00
roodletoof a98dc38f45 added missing semicolon 2025-10-05 20:18:48 +02:00
roodletoof 6374c47a62 some buffer allocator progress 2025-10-05 20:14:47 +02:00
roodletoof ddf9bea20b remove tags as a dependency for test
it does notMake that much sense to have it like that in the first place.
It was for convenience, but it then requires the ci/cd pipeline to have
ctags installed and maybe other config. so screw it
2025-10-05 00:21:28 +02:00
roodletoof eb47bcda9b make tags target for ctags
I want to generate ctags whenever I make
2025-10-05 00:19:09 +02:00
roodletoof e585134339 add KB, MB and GB macros 2025-10-04 20:55:15 +02:00
roodletoof 23cec15758 cover more test cases 2025-10-04 20:55:05 +02:00
roodletoof 17ac2f94cf testing out macro magic to support positional, and keyword arguments with arbitrary default values 2025-10-04 00:42:50 +02:00
roodletoof a99f159a8e started work on buffer allocator interface 2025-10-04 00:42:16 +02:00
roodletoof 64893aa07e allocator implementation snippet 2025-10-04 00:41:57 +02:00
roodletoof 275969b4b2 github actions for testing 2025-10-03 22:17:14 +02:00
roodletoof 06946c8066 add bounds checking 2025-10-03 22:17:07 +02:00
roodletoof 89b4dfa3e8 make testing more robust 2025-10-03 22:05:00 +02:00
roodletoof 8ada613a3e retab 2025-10-03 20:55:18 +02:00
roodletoof 5fed6d24d8 std_allocator and testing 2025-10-03 20:21:27 +02:00
roodletoof fb129ac32f initial
an interface definition of an allocator, along with a simple
implementation that just re-exposes the default malloc, realloc and free
functions
2025-09-30 20:48:51 +02:00