diff options
| author | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-19 23:06:55 +0300 |
|---|---|---|
| committer | Kirill Petrashin <kirill8201@yandex.ru> | 2026-03-19 23:06:55 +0300 |
| commit | e92c9c1eb410f39f55fd80c8895b545902406ea7 (patch) | |
| tree | c1ed69f0511bedbc2ca6101a76347fb5905f2777 /priority_queue.h | |
| parent | 055dd4d62b5c670272b18789c95e0e08b4b823c8 (diff) | |
Add macros for errors and todos, outline priority_queue.c
Diffstat (limited to 'priority_queue.h')
| -rw-r--r-- | priority_queue.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |
