summaryrefslogtreecommitdiffstats
path: root/ppapi/c/ppp.h
diff options
context:
space:
mode:
authorneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 18:15:59 +0000
committerneb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-20 18:15:59 +0000
commit6ea69540b4f3f45a125bb5e704cda62840471991 (patch)
tree6f822dc39466e5c86f5395e47809350de47cf32b /ppapi/c/ppp.h
parent01b93396e207e15950af502697aaf66ccc5bf54f (diff)
downloadchromium_src-6ea69540b4f3f45a125bb5e704cda62840471991.zip
chromium_src-6ea69540b4f3f45a125bb5e704cda62840471991.tar.gz
chromium_src-6ea69540b4f3f45a125bb5e704cda62840471991.tar.bz2
Change ppapi C++ comment style into C.
This allows graphics 2d example to compile. BUG=none TEST=Compiling examples/2d/graphics_2d.c with NaCl works. Review URL: http://codereview.chromium.org/5997003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@69725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/c/ppp.h')
-rw-r--r--ppapi/c/ppp.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/ppapi/c/ppp.h b/ppapi/c/ppp.h
index 67d66c3..2f3a19a 100644
--- a/ppapi/c/ppp.h
+++ b/ppapi/c/ppp.h
@@ -1,7 +1,7 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
+/* Copyright (c) 2010 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
#ifndef PPAPI_C_PPP_H_
#define PPAPI_C_PPP_H_
@@ -24,8 +24,9 @@
* @{
*/
-// We don't want name mangling for these external functions. We only need
-// 'extern "C"' if we're compiling with a C++ compiler.
+/* We don't want name mangling for these external functions. We only need
+ * 'extern "C"' if we're compiling with a C++ compiler.
+ */
#ifdef __cplusplus
extern "C" {
#endif
@@ -50,11 +51,12 @@ PP_EXPORT void PPP_ShutdownModule();
PP_EXPORT const void* PPP_GetInterface(const char* interface_name);
#ifdef __cplusplus
-} // extern "C"
+} /* extern "C" */
#endif
/**
* @}
* End addtogroup PPP
*/
-#endif // PPAPI_C_PPP_H_
+#endif /* PPAPI_C_PPP_H_ */
+