This is an area where we haven't settled on a convention yet, which is
why you see these inconsistencies. At various times I've used gXXX as
well as s_XXXX. My own preference is for gXXX, even though it isn't
particularly consistent with the m_XXX member variable convention.
dave
On Dec 9, 2008, at 2:46 PM, Cary Clark wrote:
Global variables aren't discussed here:
http://webkit.org/coding/coding-style.html
In sources, I see:
gX.. WebCore/rendering/RenderLayer.h:138: static const
ScrollAlignment gAlignCenterIfNeeded;
s_x.. WebCore/rendering/RenderObject.h:964: static bool
s_affectsParentBlock;
AxBx.. WebCore/dom/RangeException.h:41: static const int
RangeExceptionOffset = 200;
Is there one convention for const, and one for non-const? Or none at
all?
Thanks
Cary
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev