]> git.ozlabs.org Git - ccan/commit
tal: add tal_expand().
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 3 Dec 2012 08:59:39 +0000 (19:29 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 3 Dec 2012 08:59:39 +0000 (19:29 +1030)
commit680aa496521811e7c60afb940bcae5024f4c6adb
treef677cec1791c54da449b784d8dbea558ab5c9d31
parent5582b011948769779b0d839d35873c2bc557f9cb
tal: add tal_expand().

Helper to reallocate and append to an array.

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