| Index: ppapi/c/pp_bool.h
|
| ===================================================================
|
| --- ppapi/c/pp_bool.h (revision 91508)
|
| +++ ppapi/c/pp_bool.h (working copy)
|
| @@ -37,6 +37,10 @@
|
| #ifdef __cplusplus
|
| /**
|
| * Converts a C++ "bool" type to a PP_Bool.
|
| + *
|
| + * @param[in] b A C++ "bool" type.
|
| + *
|
| + * @return A PP_Bool.
|
| */
|
| inline PP_Bool PP_FromBool(bool b) {
|
| return b ? PP_TRUE : PP_FALSE;
|
| @@ -44,6 +48,10 @@
|
|
|
| /**
|
| * Converts a PP_Bool to a C++ "bool" type.
|
| + *
|
| + * @param[in] b A PP_Bool.
|
| + *
|
| + * @return A C++ "bool" type.
|
| */
|
| inline bool PP_ToBool(PP_Bool b) {
|
| return (b != PP_FALSE);
|
|
|