diff options
Diffstat (limited to 'ppapi/generators/test_version/versions.idl')
-rw-r--r-- | ppapi/generators/test_version/versions.idl | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/ppapi/generators/test_version/versions.idl b/ppapi/generators/test_version/versions.idl new file mode 100644 index 0000000..ce39f2a --- /dev/null +++ b/ppapi/generators/test_version/versions.idl @@ -0,0 +1,53 @@ +/* Copyright (c) 2011 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. + */ + +/* File Comment. */ + +label Chrome { + M13 = 0.0, + M14 = 1.0, + M15 = 2.0 +}; + +describe { + int32_t; +}; + +/*REL: M13 M15 */ +[version=0.0] +interface iFoo { + /** + * Comment for function x + */ + [version=0.0] int32_t Bar([in] int32_t x); + /** + * Comment for function x,y,z + */ + [version=2.0] int32_t Bar([in] int32_t x, [in] int32_t y, [in] int32_t z); +}; + + +/*REL: M13 M15 */ +[version=0.0] +struct iBar { + /** + * Comment for function x + */ + [version=0.0] iFoo x; +}; + +/*REL: M13 M14 M15 */ +[version=0.0] +struct iX { + /** + * Comment for function x + */ + [version=0.0] iFoo x; + /** + * Comment for member y + */ + [version=1.0] int32_t y; +}; + |