diff options
author | neb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-20 18:15:59 +0000 |
---|---|---|
committer | neb@chromium.org <neb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-12-20 18:15:59 +0000 |
commit | 6ea69540b4f3f45a125bb5e704cda62840471991 (patch) | |
tree | 6f822dc39466e5c86f5395e47809350de47cf32b /ppapi/c/ppb_image_data.h | |
parent | 01b93396e207e15950af502697aaf66ccc5bf54f (diff) | |
download | chromium_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_image_data.h')
-rw-r--r-- | ppapi/c/ppb_image_data.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/ppapi/c/ppb_image_data.h b/ppapi/c/ppb_image_data.h index ce9356f..e1fe5d0 100644 --- a/ppapi/c/ppb_image_data.h +++ b/ppapi/c/ppb_image_data.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_IMAGE_DATA_H_ #define PPAPI_C_PPB_IMAGE_DATA_H_ @@ -21,11 +21,12 @@ PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_ImageDataFormat, 4); struct PP_ImageDataDesc { PP_ImageDataFormat format; - // Size of the bitmap in pixels. + /** Size of the bitmap in pixels. */ struct PP_Size size; - // The row width in bytes. This may be different than width * 4 since there - // may be padding at the end of the lines. + /** The row width in bytes. This may be different than width * 4 since there + * may be padding at the end of the lines. + */ int32_t stride; }; PP_COMPILE_ASSERT_STRUCT_SIZE_IN_BYTES(PP_ImageDataDesc, 16); @@ -100,4 +101,5 @@ struct PPB_ImageData { * @} * End addtogroup PPB */ -#endif // PPAPI_C_PPB_IMAGE_DATA_H_ +#endif /* PPAPI_C_PPB_IMAGE_DATA_H_ */ + |