| 28 | } |
| 29 | |
| 30 | static int |
| 31 | node_cmp_magic(const node_t *a, const node_t *b) { |
| 32 | |
| 33 | assert_u32_eq(a->magic, NODE_MAGIC, "Bad magic"); |
| 34 | assert_u32_eq(b->magic, NODE_MAGIC, "Bad magic"); |
| 35 | |
| 36 | return node_cmp(a, b); |
| 37 | } |
| 38 | |
| 39 | typedef ph(node_t) heap_t; |
| 40 | ph_gen(static, heap_, heap_t, node_t, link, node_cmp_magic); |
no test coverage detected