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