X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2Ftal.h;h=e25dcb92985922acc5a50007f5c397ddb4aa9237;hp=865a696713c88d9243f64515200b49c7c164e554;hb=9d2d2c49f053018724bcc6e37029da10b7c3d60d;hpb=d3d2242ba8d975f8d7ddaa0348953dfd6f45ffce;ds=sidebyside diff --git a/ccan/tal/tal.h b/ccan/tal/tal.h index 865a6967..e25dcb92 100644 --- a/ccan/tal/tal.h +++ b/ccan/tal/tal.h @@ -106,6 +106,9 @@ void *tal_free(const tal_t *p); * This returns true on success (and may move *@p), or false on failure. * On success, tal_count() of *@p will be @count. * + * Note: if *p is take(), it will still be take() upon return, even if it + * has been moved. + * * Example: * tal_resize(&p, 100); */