Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: ppapi/c/pp_bool.h

Issue 6312098: Updating documentation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/c/pp_errors.h » ('j') | ppapi/c/pp_module.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 #ifndef PPAPI_C_PP_BOOL_H_ 5 #ifndef PPAPI_C_PP_BOOL_H_
6 #define PPAPI_C_PP_BOOL_H_ 6 #define PPAPI_C_PP_BOOL_H_
7 7
8 #include "ppapi/c/pp_macros.h" 8 #include "ppapi/c/pp_macros.h"
9 9
10 /** 10 /**
11 * @file 11 * @file
12 * Defines the API ... 12 * This file defines the PP_Bool enumeration for use in PPAPI C headers.
13 */ 13 */
14 14
15 /** 15 /**
16 * 16 *
17 * @addtogroup Enums 17 * @addtogroup Enums
18 * @{ 18 * @{
19 */ 19 */
20 20
21 /** 21 /**
22 * A boolean value for use in PPAPI C headers. The standard bool type is not 22 * The PP_Bool enum is a boolean value for use in PPAPI C headers. The
23 * available to pre-C99 compilers, and is not guaranteed to be compatible 23 * standard bool type is not available to pre-C99 compilers, and is not
24 * between C and C++, whereas the PPAPI C headers can be included from C or C++ 24 * guaranteed to be compatible between C and C++, whereas the PPAPI C
25 * code. 25 * headers can be included from C or C++ code.
26 */ 26 */
27 typedef enum { 27 typedef enum {
28 PP_FALSE = 0, 28 PP_FALSE = 0,
29 PP_TRUE = 1 29 PP_TRUE = 1
30 } PP_Bool; 30 } PP_Bool;
31 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Bool, 4); 31 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_Bool, 4);
32 /** 32 /**
33 * @} 33 * @}
34 */ 34 */
35 35
36
37
38
39
40 #endif /* PPAPI_C_PP_BOOL_H_ */ 36 #endif /* PPAPI_C_PP_BOOL_H_ */
41 37
OLDNEW
« no previous file with comments | « no previous file | ppapi/c/pp_errors.h » ('j') | ppapi/c/pp_module.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698