X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftcon%2Ftcon.h;fp=ccan%2Ftcon%2Ftcon.h;h=e0f84b383976c4d106e6d9fe3ee9043c449d1ed8;hp=247a7331c8b98aa52c7da44750b6db0c02c6c872;hb=cd2d09063cdfb0e730e7d3c344c85716d3217028;hpb=7a4e71c4180eaecc8799c050eeb052b0de8cf302 diff --git a/ccan/tcon/tcon.h b/ccan/tcon/tcon.h index 247a7331..e0f84b38 100644 --- a/ccan/tcon/tcon.h +++ b/ccan/tcon/tcon.h @@ -321,6 +321,8 @@ * tcon_container_of() evaluates to a pointer to the container * structure. With sufficient compiler support, the pointer will be * correctly typed, and the type of @member_ptr will be verified. + * Note that const is discarded; a const @member_ptr still yields a + * non-const container (unless @canary is const). * * Returns NULL if @member_ptr is NULL. */