summaryrefslogtreecommitdiffstats
path: root/ppapi/generators/test_cgen_range/versions.idl
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/generators/test_cgen_range/versions.idl')
-rw-r--r--ppapi/generators/test_cgen_range/versions.idl20
1 files changed, 5 insertions, 15 deletions
diff --git a/ppapi/generators/test_cgen_range/versions.idl b/ppapi/generators/test_cgen_range/versions.idl
index 11b4de0..3dcc87e 100644
--- a/ppapi/generators/test_cgen_range/versions.idl
+++ b/ppapi/generators/test_cgen_range/versions.idl
@@ -15,30 +15,20 @@ describe {
int32_t;
};
-
-/* Bogus Struct Foo */
+/* Bogus Interface Foo */
[version=0.0]
-struct Foo {
+interface Foo {
/**
* Comment for function x
*/
- [version=0.0] int32_t Foo(int32_t x);
+ [version=0.0] int32_t Bar(int32_t x);
/**
* Comment for function x,y
*/
- [version=1.0] int32_t Foo(int32_t x, int32_t y);
+ [version=1.0] int32_t Bar(int32_t x, int32_t y);
/**
* Comment for function x,y,z
*/
- [version=2.0] int32_t Foo(int32_t x, int32_t y, int32_t z);
+ [version=2.0] int32_t Bar(int32_t x, int32_t y, int32_t z);
};
-
-/* Inherit revisions thanks to Foo */
-[version=0.0]
-interface Bar {
- /**
- * Comment for function
- */
- int32_t UseFoo(Foo val);
-};