Re: [PATCH 1/4] utils: Document wl_container_of

2013-09-11 Thread Kristian Høgsberg
On Wed, Aug 28, 2013 at 06:01:59PM -0500, Aaron Faanes wrote: > The explanation added is admittedly verbose (and reads more like a > proof), but my hope is that the comment should demystify how > wl_container_of works for those not familiar with the technique used. > Understanding this function als

[PATCH 1/4] utils: Document wl_container_of

2013-08-28 Thread Aaron Faanes
The explanation added is admittedly verbose (and reads more like a proof), but my hope is that the comment should demystify how wl_container_of works for those not familiar with the technique used. Understanding this function also helps understanding how wl_list works. --- src/wayland-util.h | 45