aboutsummaryrefslogtreecommitdiff
path: root/src/pqueue.c
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-08 21:11:11 +0800
committerMistivia <i@mistivia.com>2025-06-08 21:11:11 +0800
commit9b98985d16e92e728d28d6c8ce4294f8a7230d9d (patch)
treea706b6812711ba432e97ad326a8aa535dc9ee4c2 /src/pqueue.c
parent445fe6e07e3b8f5343f4a728d7ad96fbbfd0345e (diff)
generic pq
Diffstat (limited to 'src/pqueue.c')
-rw-r--r--src/pqueue.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/pqueue.c b/src/pqueue.c
new file mode 100644
index 0000000..b1cd733
--- /dev/null
+++ b/src/pqueue.c
@@ -0,0 +1,16 @@
+#include "pqueue.h"
+
+#include <stdlib.h>
+#include <string.h>
+
+#include "basic_traits.h"
+
+PQUEUE_IMPL(Int);
+PQUEUE_IMPL(Bool);
+PQUEUE_IMPL(Long);
+PQUEUE_IMPL(Char);
+PQUEUE_IMPL(UInt);
+PQUEUE_IMPL(ULong);
+PQUEUE_IMPL(Double);
+PQUEUE_IMPL(Float);
+PQUEUE_IMPL(String);