X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/033fd4e36c4cceab309b15253194999ab8dddfa2..3731bd7ce44652975105ade6527aa73bc6107784:/lib/test.c diff --git a/lib/test.c b/lib/test.c index ed765e7..b2e1dc5 100644 --- a/lib/test.c +++ b/lib/test.c @@ -377,7 +377,10 @@ static void test_casefold(void) { /** @brief Less-than comparison function for integer heap */ static inline int int_lt(int a, int b) { return a < b; } +/** @struct iheap + * @brief A heap with @c int elements */ HEAP_TYPE(iheap, int, int_lt); +HEAP_DEFINE(iheap, int, int_lt); /** @brief Tests for @ref heap.h */ static void test_heap(void) {