X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Ftal.h;h=10ee460812bd10860adf450abebf17e2ede85988;hp=4e862cd631177297cdc47497d4466a6f15923dc6;hb=9a1441141e6fdb84e9c067b6d6808e65e0da3627;hpb=fce7c22f5ccfc10b0bd2bad8cc7553d113e1cde2 diff --git a/ccan/tal/tal.h b/ccan/tal/tal.h index 4e862cd6..10ee4608 100644 --- a/ccan/tal/tal.h +++ b/ccan/tal/tal.h @@ -405,13 +405,13 @@ tal_t *tal_steal_(const tal_t *new_parent, const tal_t *t); bool tal_resize_(tal_t **ctxp, size_t size); -bool tal_add_destructor_(tal_t *ctx, void (*destroy)(void *me)); -bool tal_del_destructor_(tal_t *ctx, void (*destroy)(void *me)); +bool tal_add_destructor_(const tal_t *ctx, void (*destroy)(void *me)); +bool tal_del_destructor_(const tal_t *ctx, void (*destroy)(void *me)); -bool tal_add_notifier_(tal_t *ctx, enum tal_notify_type types, +bool tal_add_notifier_(const tal_t *ctx, enum tal_notify_type types, void (*notify)(tal_t *ctx, enum tal_notify_type, void *info)); -bool tal_del_notifier_(tal_t *ctx, +bool tal_del_notifier_(const tal_t *ctx, void (*notify)(tal_t *ctx, enum tal_notify_type, void *info)); #endif /* CCAN_TAL_H */