]> git.seodisparate.com/gitweb - SimpleArchiver/commit
Update chunked_array_pop to optionally not cleanup
authorStephen Seo <seo.disparate@gmail.com>
Tue, 22 Apr 2025 08:23:34 +0000 (17:23 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Tue, 22 Apr 2025 08:23:34 +0000 (17:23 +0900)
commitd9148030b0026c8f3973870d639ab8c35739bda9
tree40f5350d4749c18f49c1e22edc5002d320f62257
parent6686ea5f2c62918aca74f4e84e950e8a2d12bf6e
Update chunked_array_pop to optionally not cleanup

Another parameter was added to the chunked_array_pop function to be able
to control whether the returned element has the cleanup function run on
it before a newly allocated copy of it is returned.
src/data_structures/chunked_array.c
src/data_structures/chunked_array.h
src/data_structures/test.c