[Webkit-unassigned] [Bug 32828] WTF should have an arraysize macro

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Oct 24 07:22:16 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=32828


David Kilzer (ddkilzer) <ddkilzer at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #71663|review?, commit-queue?      |review-, commit-queue-
               Flag|                            |




--- Comment #17 from David Kilzer (ddkilzer) <ddkilzer at webkit.org>  2010-10-24 07:22:14 PST ---
(From update of attachment 71663)
r- due to various build failures.

I'm a little concerned about ARRAY_LENGTH() being too generic of a name.  What about WTF_ARRAY_LENGTH()?

Can you make the macro an inline template method instead, or does that make declarations like this unhappy?

    unsigned int toklen[ARRAY_LENGTH(tokens)];

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list