]> git.ozlabs.org Git - ccan/commitdiff
tal: Make tal_resize() easier to use.
authorRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Nov 2012 05:17:30 +0000 (15:47 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Nov 2012 05:17:30 +0000 (15:47 +1030)
Instead of trying to force people to use the return value, pass a pointer.
This makes it easier if you want to handle failure: no overwriting the old
pointer!

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>

No differences found