Commit graph

21 commits

Author SHA1 Message Date
edbe9ba3b8
fix(test): improve testing macros 2025-11-15 21:48:41 -05:00
945343daa0
feat(stack): introduce a stack ds, internally this uses a sll 2025-11-15 21:47:45 -05:00
69dc1dcb45
feat(ll)!: add new ll function and rename insert
ds_*ll_insert -> ds_*ll_append to better reflect what it does and there
is now ds_*ll_add to add data anywhere in the ll.
2025-11-15 21:43:29 -05:00
46b0219ab4
fix(gitignore): add some more artifacts to ignore 2025-11-15 02:20:39 -05:00
a56daaf6b8
fix(formatting): :retab 2025-11-15 02:19:58 -05:00
5a485445ed
fix(test): remove extra word 2025-11-15 02:19:31 -05:00
5e4ae41113
fix(ll): prevent use after free when removing items from any type of ll 2025-09-07 00:29:05 -04:00
6d04487bc7
feat(README): update the readme 2025-09-06 02:27:38 -04:00
6e98f293aa
feat(tests): add tests for all currently existing data structures 2025-09-06 02:27:04 -04:00
1a9b135f01
fix(dll): ensure that we check that cur exists every loop iter 2025-09-06 02:17:14 -04:00
a3a9775c5f
feat(hmp): more erroring in ds_hmp_insert 2025-09-06 01:56:40 -04:00
0e736091dc
fix(ll): prevent crash when passing anything non-existent to ll funcs 2025-09-06 01:56:12 -04:00
47614633c3
fix(hmp): prevent crash when passing anything non-existent to hmp funcs 2025-09-06 00:10:38 -04:00
f4d09675af
fix(ll): prevent crash when removing out of bounds 2025-09-05 23:44:43 -04:00
a701aa8d5d
feat(hmp): use the new ds_*ll_init func in ds_hmp_insert 2025-09-05 18:46:10 -04:00
4248a678c1
feat(ll): provide a ds_*ll_init func for consistency 2025-09-05 18:46:10 -04:00
1f7cba9338
feat!: make all functions have return values 2025-09-05 18:46:04 -04:00
1c03cac31d
feat(hmp): allow the user to specify a callback for dealing with their alloced mem 2025-09-04 15:37:31 -04:00
16470f2592
don't crash when removing out of bounds 2025-08-16 23:38:14 -04:00
db42c21754
try and be a bit more standard 2025-08-16 23:37:56 -04:00
c73be4c21c
initial commit 2025-08-16 18:25:33 -04:00