commit | e166c1964ef28d846979bc768b66018d425a3905 | [log] [tgz] |
---|---|---|
author | pkasting@chromium.org <pkasting@chromium.org> | Wed Jan 28 21:36:55 2015 |
committer | pkasting@chromium.org <pkasting@chromium.org> | Wed Jan 28 21:36:55 2015 |
tree | 62872a8229af7ccbf7d302bef0043549bfe32ad5 | |
parent | d40d97b18b663bc1e165169bd11b24b6dac5eb60 [diff] |
Add arraysize() macro from Chromium, and make use of it in a few places. This not only shortens some test code, it makes it more robust against changing the lengths of the arrays later and forgetting to update the length constants (which bit me). BUG=none TEST=none R=hta@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/34829004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@8191 4adac7df-926f-26a2-2b94-8c16560cd09d