]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/sorter/debug/retros.c
Doc: Documented growing arrays, generic allocators and related things
[libucw.git] / ucw / sorter / debug / retros.c
index 25423cc59e11b2ae36300bb1bb472e0805ccd0da..7325de7529721d1af36c99a3706fd9b1fc8009a1 100644 (file)
@@ -623,7 +623,7 @@ static void heapsort(void)
   HEAP_INIT(struct elt, heap, n, H_LESS, HEAP_SWAP);
   uns nn = n;
   while (nn)
-    HEAP_DELMIN(struct elt, heap, nn, H_LESS, HEAP_SWAP);
+    HEAP_DELETE_MIN(struct elt, heap, nn, H_LESS, HEAP_SWAP);
 #undef H_LESS
 }
 
@@ -634,7 +634,7 @@ static void heapsort_ind(void)
   HEAP_INIT(struct elt *, heap, n, H_LESS, HEAP_SWAP);
   uns nn = n;
   while (nn)
-    HEAP_DELMIN(struct elt *, heap, nn, H_LESS, HEAP_SWAP);
+    HEAP_DELETE_MIN(struct elt *, heap, nn, H_LESS, HEAP_SWAP);
 #undef H_LESS
 }