chiark / gitweb /
doxygen; chatty logging in hope of catching a bug
[disorder] / lib / test.c
index ed765e7d89eb56a9ce25358d006bd5349c1a23a4..b2e1dc541ff836134519e7e153dba0941ca6e5d3 100644 (file)
@@ -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) {