]> git.ozlabs.org Git - ccan/commit
Enhance CCAN_LIST_DEBUG to report original caller
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 28 Feb 2014 01:42:11 +0000 (12:12 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 28 Feb 2014 01:42:11 +0000 (12:12 +1030)
commitecf907f7e6b41ba69a10b20b2cb5743ed9cdf919
tree0c39399621f0d7a8a31af81f2ae25a24bd5aabb5
parentb989e06c093fb7a2befae277f684fa75b64b9ef5
Enhance CCAN_LIST_DEBUG to report original caller

Simpler reimplementation of SS's patch; just plumb file and line through
inline functions in header.  We add a new check, which actually tests
these, and fix _info which missed ccan/check_type as a dependency.

Based-on-the-true-story-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/list/_info
ccan/list/list.h
ccan/list/test/run-CCAN_LIST_DEBUG.c [new file with mode: 0644]