OLD | NEW |
(Empty) | |
| 1 /* Copyright (c) 2013 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. |
| 4 */ |
| 5 |
| 6 /* From dev/pp_optional_structs_dev.idl modified Mon Dec 09 11:04:46 2013. */ |
| 7 |
| 8 #ifndef PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_ |
| 9 #define PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_ |
| 10 |
| 11 #include "ppapi/c/dev/pp_array_structs_dev.h" |
| 12 #include "ppapi/c/pp_bool.h" |
| 13 #include "ppapi/c/pp_macros.h" |
| 14 #include "ppapi/c/pp_stdint.h" |
| 15 #include "ppapi/c/pp_var.h" |
| 16 |
| 17 /** |
| 18 * @file |
| 19 * This file defines optional structs for primitive types. |
| 20 */ |
| 21 |
| 22 |
| 23 /** |
| 24 * @addtogroup Structs |
| 25 * @{ |
| 26 */ |
| 27 struct PP_Optional_Double { |
| 28 double value; |
| 29 PP_Bool is_set; |
| 30 }; |
| 31 |
| 32 struct PP_Optional_Double_Array { |
| 33 struct PP_Double_Array value; |
| 34 PP_Bool is_set; |
| 35 }; |
| 36 |
| 37 struct PP_Optional_String_Array { |
| 38 struct PP_String_Array value; |
| 39 PP_Bool is_set; |
| 40 }; |
| 41 /** |
| 42 * @} |
| 43 */ |
| 44 |
| 45 #endif /* PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_ */ |
| 46 |
OLD | NEW |