1 /* Licensed under BSD-MIT - see LICENSE file for details */
3 #include <ccan/tal/stack/stack.h>
6 static tal_t *h = NULL;
8 static void _free_frame(tal_t *o)
13 tal_t *tal_newframe_(const char *label)
15 h = tal_alloc_(h, 0, false, label);
17 tal_add_destructor(h, _free_frame);
21 tal_t *tal_curframe(void)