static struct tal_hdr *debug_tal(struct tal_hdr *tal)
{
tal_check(from_tal_hdr_or_null(tal), "TAL_DEBUG ");
static struct tal_hdr *debug_tal(struct tal_hdr *tal)
{
tal_check(from_tal_hdr_or_null(tal), "TAL_DEBUG ");
old_parent = ignore_destroying_bit(t->parent_child)->parent;
if (unlikely(!add_child(newpar, t))) {
old_parent = ignore_destroying_bit(t->parent_child)->parent;
if (unlikely(!add_child(newpar, t))) {
* children property already. */
if (!add_child(old_parent, t))
abort();
* children property already. */
if (!add_child(old_parent, t))
abort();
bool tal_add_notifier_(const tal_t *ctx, enum tal_notify_type types,
void (*callback)(tal_t *, enum tal_notify_type, void *))
{
bool tal_add_notifier_(const tal_t *ctx, enum tal_notify_type types,
void (*callback)(tal_t *, enum tal_notify_type, void *))
{
void (*callback)(tal_t *, enum tal_notify_type, void *),
bool match_extra_arg, void *extra_arg)
{
void (*callback)(tal_t *, enum tal_notify_type, void *),
bool match_extra_arg, void *extra_arg)
{
enum tal_notify_type types;
types = del_notifier_property(t, callback, match_extra_arg, extra_arg);
enum tal_notify_type types;
types = del_notifier_property(t, callback, match_extra_arg, extra_arg);
/* Fix up child property's parent pointer. */
child = find_property(t, CHILDREN);
if (child) {
/* Fix up child property's parent pointer. */
child = find_property(t, CHILDREN);
if (child) {