summaryrefslogtreecommitdiffstats
path: root/ppapi/c/ppb_graphics_2d.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/ppb_graphics_2d.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/ppb_graphics_2d.h')
-rw-r--r--ppapi/c/ppb_graphics_2d.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/ppapi/c/ppb_graphics_2d.h b/ppapi/c/ppb_graphics_2d.h
index 8f152d33..6daa16f 100644
--- a/ppapi/c/ppb_graphics_2d.h
+++ b/ppapi/c/ppb_graphics_2d.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_PPB_GRAPHICS_2D_H_
#define PPAPI_C_PPB_GRAPHICS_2D_H_
@@ -210,8 +210,9 @@ struct PPB_Graphics2D {
* Flush is already pending that has not issued its callback yet. In the
* failure case, nothing will be updated and no callback will be scheduled.
*/
- // TODO(darin): We should ensure that the completion callback always runs, so
- // that it is easier for consumers to manage memory referenced by a callback.
+ /* TODO(darin): We should ensure that the completion callback always runs, so
+ * that it is easier for consumers to manage memory referenced by a callback.
+ */
int32_t (*Flush)(PP_Resource graphics_2d,
struct PP_CompletionCallback callback);
@@ -221,4 +222,5 @@ struct PPB_Graphics2D {
* @}
* End addtogroup PPB
*/
-#endif // PPAPI_C_PPB_GRAPHICS_2D_H_
+#endif /* PPAPI_C_PPB_GRAPHICS_2D_H_ */
+