diff options
author | sdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-28 14:32:21 +0000 |
---|---|---|
committer | sdefresne@chromium.org <sdefresne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-02-28 14:32:21 +0000 |
commit | bb259180a51d04e2ec5a3437ae4a8c49eb700bd7 (patch) | |
tree | 623a2c7ea56a94ba5c4ca3f90f18dfcc5455e050 /media | |
parent | 3dab7b72278dcecce11e06eea61a140716b6aaaa (diff) | |
download | chromium_src-bb259180a51d04e2ec5a3437ae4a8c49eb700bd7.zip chromium_src-bb259180a51d04e2ec5a3437ae4a8c49eb700bd7.tar.gz chromium_src-bb259180a51d04e2ec5a3437ae4a8c49eb700bd7.tar.bz2 |
Add a macro NSSTRING_FORMAT for Objective-C formatting function
Objective-C functions that accepts a format string parameter cannot use
the PRINTF_FORMAT since this does not supports the %@ specifier. Define
a new macro NSSTRING_FORMAT that tell the compiler the function formats
using the same rules as +[NSString stringWithFormat:].
References:
http://nshipster.com/__attribute__/
BUG=None
Review URL: https://codereview.chromium.org/183443002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@254099 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media')
0 files changed, 0 insertions, 0 deletions