]> git.ozlabs.org Git - ccan/commit
dgraph: add dgraph_check and CCAN_DGRAPH_DEBUG
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Jan 2013 07:35:14 +0000 (18:05 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 14 Jan 2013 07:35:14 +0000 (18:05 +1030)
commitbc1ebe804ee892ef18eef1b48589c50c14230dd3
tree9e6a6a732b76e197bc3e3411302a389e7a293532
parent02358a946a10fc2222b9966f3861cdc10a5550b8
dgraph: add dgraph_check and CCAN_DGRAPH_DEBUG

This is good form for datastructures, so caller can track weird bugs.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/dgraph/dgraph.c
ccan/dgraph/dgraph.h
ccan/dgraph/test/run-debug.c [new file with mode: 0644]
ccan/dgraph/test/run.c