timer: add hook for allocation functions.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Mar 2019 09:12:57 +0000 (19:42 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 4 Mar 2019 09:12:57 +0000 (19:42 +1030)
commit23e72d4194172b52d26fed9f36c7af9b893f4649
treeb74d3889914fecf76c2f6b1f7d1016d104a2632f
parent580457bd3e4af60d5367412589d2aa1bb0289eed
timer: add hook for allocation functions.

malloc and free aren't for everyone.

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