versions.idl revision 5821806d5e7f356e8fa4b058a389a808ea183019
1/* Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 * Use of this source code is governed by a BSD-style license that can be 3 * found in the LICENSE file. 4 */ 5 6/* File Comment. */ 7 8label Chrome { 9 M13 = 0.0, 10 M14 = 1.0, 11 M15 = 2.0 12}; 13 14describe { 15 int32_t; 16}; 17 18 19/* Bogus Struct Foo */ 20[version=0.0] 21struct Foo { 22 /** 23 * Comment for function x 24 */ 25 [version=0.0] int32_t Foo(int32_t x); 26 /** 27 * Comment for function x,y 28 */ 29 [version=1.0] int32_t Foo(int32_t x, int32_t y); 30 /** 31 * Comment for function x,y,z 32 */ 33 [version=2.0] int32_t Foo(int32_t x, int32_t y, int32_t z); 34}; 35 36 37/* Inherit revisions thanks to Foo */ 38[version=0.0] 39interface Bar { 40 /** 41 * Comment for function 42 */ 43 int32_t UseFoo(Foo val); 44}; 45