Index: ppapi/c/dev/pp_optional_structs_dev.h |
diff --git a/ppapi/c/dev/pp_optional_structs_dev.h b/ppapi/c/dev/pp_optional_structs_dev.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..1afbaf933ed844efac8f51ea7934df29dd6d5405 |
--- /dev/null |
+++ b/ppapi/c/dev/pp_optional_structs_dev.h |
@@ -0,0 +1,46 @@ |
+/* Copyright (c) 2013 The Chromium Authors. All rights reserved. |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
+/* From dev/pp_optional_structs_dev.idl modified Mon Dec 09 11:04:46 2013. */ |
+ |
+#ifndef PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_ |
+#define PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_ |
+ |
+#include "ppapi/c/dev/pp_array_structs_dev.h" |
+#include "ppapi/c/pp_bool.h" |
+#include "ppapi/c/pp_macros.h" |
+#include "ppapi/c/pp_stdint.h" |
+#include "ppapi/c/pp_var.h" |
+ |
+/** |
+ * @file |
+ * This file defines optional structs for primitive types. |
+ */ |
+ |
+ |
+/** |
+ * @addtogroup Structs |
+ * @{ |
+ */ |
+struct PP_Optional_Double { |
+ double value; |
+ PP_Bool is_set; |
+}; |
+ |
+struct PP_Optional_Double_Array { |
+ struct PP_Double_Array value; |
+ PP_Bool is_set; |
+}; |
+ |
+struct PP_Optional_String_Array { |
+ struct PP_String_Array value; |
+ PP_Bool is_set; |
+}; |
+/** |
+ * @} |
+ */ |
+ |
+#endif /* PPAPI_C_DEV_PP_OPTIONAL_STRUCTS_DEV_H_ */ |
+ |