Index: ppapi/generators/test_cgen_range/versions.h |
=================================================================== |
--- ppapi/generators/test_cgen_range/versions.h (revision 98271) |
+++ ppapi/generators/test_cgen_range/versions.h (working copy) |
@@ -3,13 +3,18 @@ |
* found in the LICENSE file. |
*/ |
-/* From test_cgen_range/versions.idl modified Wed Aug 24 10:35:01 2011. */ |
+/* From test_cgen_range/versions.idl modified Wed Aug 24 19:49:19 2011. */ |
#ifndef PPAPI_C_TEST_CGEN_RANGE_VERSIONS_H_ |
#define PPAPI_C_TEST_CGEN_RANGE_VERSIONS_H_ |
#include "ppapi/c/pp_macros.h" |
+#define BAR_INTERFACE_0_0 "Bar;0.0" |
+#define BAR_INTERFACE_1_0 "Bar;1.0" |
+#define BAR_INTERFACE_2_0 "Bar;2.0" |
+#define BAR_INTERFACE BAR_INTERFACE_2_0 |
+ |
/** |
* @file |
* File Comment. */ |
@@ -19,21 +24,40 @@ |
* @addtogroup Structs |
* @{ |
*/ |
-/* Bogus Struct */ |
-struct PP_Size { |
+/* Bogus Struct Foo */ |
+struct Foo { |
/** |
- * Comment for function |
+ * Comment for function x,y,z |
*/ |
+ int32_t (*Foo)(int32_t x, int32_t y, int32_t z); |
+}; |
+struct Foo_0_0 { |
int32_t (*Foo)(int32_t x); |
- /** |
- * Comment for function |
- */ |
+}; |
+struct Foo_1_0 { |
int32_t (*Foo)(int32_t x, int32_t y); |
+}; |
+/** |
+ * @} |
+ */ |
+ |
+/** |
+ * @addtogroup Interfaces |
+ * @{ |
+ */ |
+/* Inherit revisions thanks to Foo */ |
+struct Bar { |
/** |
* Comment for function |
*/ |
- int32_t (*Foo)(int32_t x, int32_t y, int32_t z); |
+ int32_t (*UseFoo)( struct Foo* val); |
}; |
+struct Bar_0_0 { |
+ int32_t (*UseFoo)( struct Foo* val); |
+}; |
+struct Bar_1_0 { |
+ int32_t (*UseFoo)( struct Foo* val); |
+}; |
/** |
* @} |
*/ |