aboutsummaryrefslogtreecommitdiff
path: root/advent-of-code/2022/lib/pque.h
diff options
context:
space:
mode:
Diffstat (limited to 'advent-of-code/2022/lib/pque.h')
-rw-r--r--advent-of-code/2022/lib/pque.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/advent-of-code/2022/lib/pque.h b/advent-of-code/2022/lib/pque.h
deleted file mode 100644
index 0d86560..0000000
--- a/advent-of-code/2022/lib/pque.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef PQUEUE_H_
-#define PQUEUE_H_
-
-typedef struct {
- void *buf;
- int elemsz;
- int cap;
- int size;
- int (*cmp)(void*, void*);
-} PQue;
-
-void pq_init(PQue *pq, int cap, int elemsz, int (*cmp)(void*, void*));
-void pq_push(PQue *pq, void *elem);
-void pq_pop(PQue *pq);
-void* pq_top();
-
-#endif
-