Chromium Code Reviews

Unified Diff: ppapi/c/dev/ppb_testing_dev.h

Issue 8989006: Update PPAPI IDL generator to define versioned structs, and unversioned typedef. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ppapi/tests/ forward declares to includes. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ppapi/c/dev/ppb_testing_dev.h
diff --git a/ppapi/c/dev/ppb_testing_dev.h b/ppapi/c/dev/ppb_testing_dev.h
index c892f6bbb43b3b1d4fb0d7896f1d735d342723b7..9272ff91202584609c2ed50124b02a66de4089c6 100644
--- a/ppapi/c/dev/ppb_testing_dev.h
+++ b/ppapi/c/dev/ppb_testing_dev.h
@@ -3,7 +3,7 @@
* found in the LICENSE file.
*/
-/* From dev/ppb_testing_dev.idl modified Wed Dec 14 12:58:12 2011. */
+/* From dev/ppb_testing_dev.idl modified Fri Dec 16 17:34:59 2011. */
#ifndef PPAPI_C_DEV_PPB_TESTING_DEV_H_
#define PPAPI_C_DEV_PPB_TESTING_DEV_H_
@@ -34,7 +34,7 @@
* @addtogroup Interfaces
* @{
*/
-struct PPB_Testing_Dev {
+struct PPB_Testing_Dev_0_9 {
/**
* Reads the bitmap data out of the backing store for the given
* DeviceContext2D and into the given image. If the data was successfully
@@ -126,6 +126,8 @@ struct PPB_Testing_Dev {
struct PP_URLComponents_Dev* components);
};
+typedef struct PPB_Testing_Dev_0_9 PPB_Testing_Dev;
+
struct PPB_Testing_Dev_0_7 {
PP_Bool (*ReadImageData)(PP_Resource device_context_2d,
PP_Resource image,

Powered by Google App Engine