]> git.seodisparate.com - SimpleArchiver/commitdiff
Minor fix to doc comment about priority heap
authorStephen Seo <seo.disparate@gmail.com>
Sun, 30 Jun 2024 06:35:27 +0000 (15:35 +0900)
committerStephen Seo <seo.disparate@gmail.com>
Sun, 30 Jun 2024 06:35:27 +0000 (15:35 +0900)
src/data_structures/priority_heap.h

index 840ed5fa9161806405b5600c33ba3b25e5aac2d3..a983f957a1349d9d074b048ce87f38479138daa7 100644 (file)
@@ -38,8 +38,7 @@ typedef struct SDArchiverPHeap {
 SDArchiverPHeap *simple_archiver_priority_heap_init(void);
 void simple_archiver_priority_heap_free(SDArchiverPHeap **priority_heap);
 
-/// If data_cleanup_fn is NULL, then "free()" is used on data when popped or
-/// freed.
+/// If data_cleanup_fn is NULL, then "free()" is used on data when freed.
 void simple_archiver_priority_heap_insert(SDArchiverPHeap **priority_heap,
                                           long long priority, void *data,
                                           void (*data_cleanup_fn)(void *));