From e92c9c1eb410f39f55fd80c8895b545902406ea7 Mon Sep 17 00:00:00 2001 From: Kirill Petrashin Date: Thu, 19 Mar 2026 23:06:55 +0300 Subject: Add macros for errors and todos, outline priority_queue.c --- priority_queue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'priority_queue.h') diff --git a/priority_queue.h b/priority_queue.h index 45252a8..0dbd161 100644 --- a/priority_queue.h +++ b/priority_queue.h @@ -21,7 +21,7 @@ PositionPQ ppq_new(Position pos, size_t priority); void ppq_insert(PositionPQ ppq, Position pos, size_t priority); /* Remove and return the position with the lowest priority */ -Position ppq_remove(PositionPQ ppq); +Position ppq_pop(PositionPQ ppq); /* Change the priority of a given pos, moving it to a different place in the * linked list ("POTENTIALLY NOT NEEDED" since we don't use different weights */ -- cgit v1.2.3