diff options
author | sbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-06 03:33:46 +0000 |
---|---|---|
committer | sbc@chromium.org <sbc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-11-06 03:33:46 +0000 |
commit | 8450e43f121904b36803514acb362733df36d369 (patch) | |
tree | a9b0be1ad795e5c4b239ddf6e8786d6d039a2b3b /ppapi/generators | |
parent | 1937bed70d466b4c086df27753c16e6d3aa41864 (diff) | |
download | chromium_src-8450e43f121904b36803514acb362733df36d369.zip chromium_src-8450e43f121904b36803514acb362733df36d369.tar.gz chromium_src-8450e43f121904b36803514acb362733df36d369.tar.bz2 |
Remove C++-style comments from C headers.
We compile the nacl examples with -pednatic which generates
warnings for C++ style comments, and these seem to be the
only 2 in the whole API.
BUG=
Review URL: https://chromiumcodereview.appspot.com/11363042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166124 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/generators')
-rwxr-xr-x | ppapi/generators/idl_c_header.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ppapi/generators/idl_c_header.py b/ppapi/generators/idl_c_header.py index 3344a4d..c1e6071 100755 --- a/ppapi/generators/idl_c_header.py +++ b/ppapi/generators/idl_c_header.py @@ -72,7 +72,7 @@ def GenerateHeader(out, filenode, releases): item = node.GetProperty('VALUE') # If 'C++' use __cplusplus wrapper if node.GetName() == 'cc': - item = '#ifdef __cplusplus\n%s\n#endif // __cplusplus\n\n' % item + item = '#ifdef __cplusplus\n%s\n#endif /* __cplusplus */\n\n' % item # If not C++ or C, then skip it elif not node.GetName() == 'c': continue |