aboutsummaryrefslogtreecommitdiff
path: root/tests/test_pqueue.c
diff options
context:
space:
mode:
authorMistivia <i@mistivia.com>2025-06-09 14:18:20 +0800
committerMistivia <i@mistivia.com>2025-06-09 14:18:20 +0800
commita690e564d82a46c4e729d88fcc660e4e2f1e6ceb (patch)
treec40c404eb61a73168050d7b57fd5bbd5709084dd /tests/test_pqueue.c
parent17690b812b7d59a7f37c858a55b25be91a02ff4c (diff)
add show trait
Diffstat (limited to 'tests/test_pqueue.c')
-rw-r--r--tests/test_pqueue.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_pqueue.c b/tests/test_pqueue.c
index 436a583..3d61552 100644
--- a/tests/test_pqueue.c
+++ b/tests/test_pqueue.c
@@ -11,6 +11,9 @@ typedef Int MinInt;
int MinInt_cmp(Int lhs, Int rhs) {
return -Int_cmp(lhs, rhs);
}
+void MinInt_show(Int self, FILE* fp) {
+ Int_show(self, fp);
+}
VECTOR_DEF(MinInt);
VECTOR_IMPL(MinInt);