[webkit-dev] Documenting common null pointer errors

Adam Barth abarth at webkit.org
Wed Aug 12 07:04:22 PDT 2009


On Tue, Aug 11, 2009 at 11:06 PM, Kalle Vahlman<kalle.vahlman at gmail.com> wrote:
> 2009/8/12 Adam Barth <abarth at webkit.org>:
>> This is now up on the site:
>>
>> http://webkit.org/coding/major-objects.html
>>
>> It's not linked from anywhere yet.  It might be a good idea for a
>> couple of folks to look at it.  It reflects my understanding of how
>> things work, which might well be wrong.
>
> Ok, it's ASCII art, but hopefully a graphical version would make it
> more clear which object actually has the pointer to the other object.
> Or if they always have the connected object pointer on both ends of
> the relation, it would be nice to mention that in the description.

Most of the links are bidirectional.  I've tried to indicate the ones
that are usually uni-directional by adding arrowheads.  In any case,
the diagram isn't meant to be a substitute for reading the code.  It's
meant to help new contributors see the big picture.

Adam


More information about the webkit-dev mailing list