RESOLVED DUPLICATE of bug 3282848191
Add a ARRAYSIZE macro
https://bugs.webkit.org/show_bug.cgi?id=48191
Summary Add a ARRAYSIZE macro
Patrick R. Gansterer
Reported 2010-10-23 10:52:12 PDT
see patch
Attachments
Patch (20.02 KB, patch)
2010-10-23 11:27 PDT, Patrick R. Gansterer
ap: review-
ap: commit-queue-
Patrick R. Gansterer
Comment 1 2010-10-23 11:27:08 PDT
WebKit Review Bot
Comment 2 2010-10-23 11:32:02 PDT
Attachment 71650 [details] did not pass style-queue: Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1 WebCore/plugins/win/PluginDatabaseWin.cpp:409: Tests for true/false, null/non-null, and zero/non-zero should all be done without equality comparisons. [readability/comparison_to_zero] [5] Total errors found: 1 in 20 files If any of these errors are false positives, please file a bug against check-webkit-style.
Alexey Proskuryakov
Comment 3 2010-10-23 12:53:04 PDT
Comment on attachment 71650 [details] Patch From bug 32828: "I'd prefer to use a function template rather than a macro."
Alexey Proskuryakov
Comment 4 2010-10-23 12:53:12 PDT
*** This bug has been marked as a duplicate of bug 32828 ***
Note You need to log in before you can comment on or make changes to this bug.