Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Unified Diff: ppapi/api/dev/pp_array_structs_dev.idl

Issue 60173003: Draft: apps APIs in Pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove PP_ArrayOutput from array structs. Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/api/dev/pp_array_structs_dev.idl
diff --git a/ppapi/api/dev/pp_array_structs_dev.idl b/ppapi/api/dev/pp_array_structs_dev.idl
new file mode 100644
index 0000000000000000000000000000000000000000..b7d5eeaaa824b31e20787463aefde217edd576fe
--- /dev/null
+++ b/ppapi/api/dev/pp_array_structs_dev.idl
@@ -0,0 +1,19 @@
+/* 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.
+ */
+
+/**
+ * This file defines array structs for primitive types.
+ */
+
+struct PP_Double_Array {
+ uint32_t size;
+ [size_is(count)] double_t[] elements;
+};
+
+struct PP_String_Array {
+ uint32_t size;
+ [size_is(count)] PP_Var[] elements;
+};
+

Powered by Google App Engine
This is Rietveld 408576698