5 #include <ccan/order/order.h>
12 typedef struct item item_t;
15 int main(int argc, char *argv[])
17 total_order_cb(cb0, struct item, struct cmp_info *) = fancy_cmp;
18 _total_order_cb cb1 = total_order_cast(fancy_cmp,
19 item_t, struct cmp_info *);
21 printf("%p %p\n", cb0, cb1);