From: Stephen Seo Date: Sun, 30 Jun 2024 06:35:27 +0000 (+0900) Subject: Minor fix to doc comment about priority heap X-Git-Tag: 1.0~94 X-Git-Url: https://git.seodisparate.com/gitweb?a=commitdiff_plain;h=d815f67b2dec21ae0e701e454691819a743a589f;p=SimpleArchiver Minor fix to doc comment about priority heap --- diff --git a/src/data_structures/priority_heap.h b/src/data_structures/priority_heap.h index 840ed5f..a983f95 100644 --- a/src/data_structures/priority_heap.h +++ b/src/data_structures/priority_heap.h @@ -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 *));