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

Unified Diff: ppapi/generators/test_cgen_range/versions.h

Issue 7751001: More multi-version support (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 months 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
« no previous file with comments | « ppapi/generators/idl_node.py ('k') | ppapi/generators/test_cgen_range/versions.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
+};
/**
* @}
*/
« no previous file with comments | « ppapi/generators/idl_node.py ('k') | ppapi/generators/test_cgen_range/versions.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698