aboutsummaryrefslogtreecommitdiff
path: root/analyzer/structures/heap.h
diff options
context:
space:
mode:
Diffstat (limited to 'analyzer/structures/heap.h')
-rw-r--r--analyzer/structures/heap.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/analyzer/structures/heap.h b/analyzer/structures/heap.h
index a2d7333..bfeb4b6 100644
--- a/analyzer/structures/heap.h
+++ b/analyzer/structures/heap.h
@@ -27,13 +27,15 @@ typedef struct {
// - el2 - pointer to the second of the elements to compare
// returns:
// truthy if el1 should be el2's parent (e.g. el1 > el2 for max heap), falsy otherwise
-// - el_cleanup - function for cleaning up any internal allocations inside element (not the element itself)
+// - el_cleanup - function for cleaning up any internal allocations inside element (not the
+// element itself)
// if it has no heap allocations, this should be NULL
// params:
// - el - pointer to the element to cleanup
// returns:
// pointer to the new heap
-extern Heap *heap_new(size_t el_size, int (*compare)(void *el1, void *el2), void (*el_cleanup)(void *el));
+extern Heap *
+heap_new(size_t el_size, int (*compare)(void *el1, void *el2), void (*el_cleanup)(void *el));
// insert new element into the heap
// params: