X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Ftal%2Ftal.h;h=e25dcb92985922acc5a50007f5c397ddb4aa9237;hb=2b3517d40f2d8ac728785a21da19db6e1230d010;hp=865a696713c88d9243f64515200b49c7c164e554;hpb=a8722345053b7cd860499aa31fd6bb414c120cc8;p=ccan 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); */