From 451a320920c6e2f60445938aa98d4fe817c3d36a Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 15 Sep 2026 15:52:47 +0200 Subject: formatting: run codebase through new .clang-format --- analyzer/structures/heap.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'analyzer/structures/heap.h') 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: -- cgit v1.2.3