]> git.seodisparate.com - SimpleArchiver/commit
Change priority_heap to accept "less_fn"
authorStephen Seo <seo.disparate@gmail.com>
Sun, 30 Jun 2024 08:29:24 +0000 (17:29 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Sun, 30 Jun 2024 08:29:24 +0000 (17:29 +0900)
commit9e95c5e2928b1eb5549b38e5416dd6d5fe013a62
tree5cd26ac7bc4734515d081bc52b21d8f9e096645c
parentd815f67b2dec21ae0e701e454691819a743a589f
Change priority_heap to accept "less_fn"

This allows for reverse order in the priority heap by using a "more_fn"
in place of a "less fn".
src/data_structures/priority_heap.c
src/data_structures/priority_heap.h
src/data_structures/test.c