| OLD | NEW |
| 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_VAR_H_ | 5 #ifndef PPAPI_C_PP_VAR_H_ |
| 6 #define PPAPI_C_PP_VAR_H_ | 6 #define PPAPI_C_PP_VAR_H_ |
| 7 | 7 |
| 8 /** | 8 /** |
| 9 * @file | 9 * @file |
| 10 * Defines the API ... | 10 * Defines the API ... |
| 11 * | 11 * |
| 12 * @addtogroup PP | 12 * @addtogroup PP |
| 13 * @{ | 13 * @{ |
| 14 */ | 14 */ |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 PP_INLINE struct PP_Var PP_MakeDouble(double value) { | 89 PP_INLINE struct PP_Var PP_MakeDouble(double value) { |
| 90 struct PP_Var result = { PP_VARTYPE_DOUBLE, 0, {PP_FALSE} }; | 90 struct PP_Var result = { PP_VARTYPE_DOUBLE, 0, {PP_FALSE} }; |
| 91 result.value.as_double = value; | 91 result.value.as_double = value; |
| 92 return result; | 92 return result; |
| 93 } | 93 } |
| 94 | 94 |
| 95 /** | 95 /** |
| 96 * @} | 96 * @} |
| 97 * End addtogroup PP | 97 * End addtogroup PP |
| 98 */ | 98 */ |
| 99 #endif // PPAPI_C_PP_VAR_H_ | 99 #endif /* PPAPI_C_PP_VAR_H_ */ |
| 100 |
| OLD | NEW |