tal: remove TAL_TAKE in favor of ccan/take.
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Nov 2012 23:35:27 +0000 (10:05 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Nov 2012 23:35:27 +0000 (10:05 +1030)
commite03d7ecb505cb73ff244708323b0f1a5a0c5cd7a
treeec73fa225b630e1bbdd865a853511e4e362e359c
parentc8a55bb39404772d459f0153f07db7ecc91ecfd0
tal: remove TAL_TAKE in favor of ccan/take.

TAL_TAKE is awkward to use, particularly on functions which take multiple
arguments.  Instead, record annotations for pointers due to be freed in
the callee.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
ccan/tal/_info
ccan/tal/tal.c
ccan/tal/tal.h
ccan/tal/test/run-overflow.c
ccan/tal/test/run-take.c
ccan/tal/test/run-test-backend.c