X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Ftal.h;h=3da1e4203d8edcb332e4701d876c05091977acbc;hp=0b050759f74ed97829661de5dc2488af74264fe9;hb=19bfc149066268388e7227f024f5a86d4bd3550b;hpb=8d14165ac039a97617f2b63ee70754b855776013 diff --git a/ccan/tal/tal.h b/ccan/tal/tal.h index 0b050759..3da1e420 100644 --- a/ccan/tal/tal.h +++ b/ccan/tal/tal.h @@ -355,13 +355,16 @@ void tal_cleanup(void); /** - * tal_check - set the allocation or error functions to use + * tal_check - sanity check a tal context and its children. * @ctx: a tal context, or NULL. * @errorstr: a string to prepend calls to error_fn, or NULL. * * This sanity-checks a tal tree (unless NDEBUG is defined, in which case * it simply returns true). If errorstr is not null, error_fn is called * when a problem is found, otherwise it is not. + * + * See also: + * tal_set_backend() */ bool tal_check(const tal_t *ctx, const char *errorstr);