tal/autoptr: new module.
Helps with the common case of wanting to NULL out a pointer when the object
freed. We could also track it if resized, but that's TODO.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Showing
ccan/tal/autoptr/LICENSE
0 → 120000
ccan/tal/autoptr/_info
0 → 100644
ccan/tal/autoptr/autoptr.c
0 → 100644
ccan/tal/autoptr/autoptr.h
0 → 100644
ccan/tal/autoptr/test/run.c
0 → 100644
Please register or sign in to comment