| OLD | NEW |
| 1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 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 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the <code>PP_Bool</code> enumeration for use in PPAPI C | 7 * This file defines the <code>PP_Bool</code> enumeration for use in PPAPI C |
| 8 * headers. | 8 * headers. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 /** | 11 /** |
| (...skipping 24 matching lines...) Expand all Loading... |
| 36 * | 36 * |
| 37 * @param[in] b A PP_Bool. | 37 * @param[in] b A PP_Bool. |
| 38 * | 38 * |
| 39 * @return A C++ "bool" type. | 39 * @return A C++ "bool" type. |
| 40 */ | 40 */ |
| 41 inline bool PP_ToBool(PP_Bool b) { | 41 inline bool PP_ToBool(PP_Bool b) { |
| 42 return (b != PP_FALSE); | 42 return (b != PP_FALSE); |
| 43 } | 43 } |
| 44 #endinl | 44 #endinl |
| 45 | 45 |
| OLD | NEW |