versions.idl revision 2a99a7e74a7f215066514fe81d2bfa6639d9eddd
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/*REL: M13 M15 */ 19[version=0.0] 20interface iFoo { 21 /** 22 * Comment for function x 23 */ 24 [version=0.0] int32_t Bar([in] int32_t x); 25 /** 26 * Comment for function x,y,z 27 */ 28 [version=2.0] int32_t Bar([in] int32_t x, [in] int32_t y, [in] int32_t z); 29}; 30 31 32/*REL: M13 M15 */ 33[version=0.0] 34struct iBar { 35 /** 36 * Comment for function x 37 */ 38 [version=0.0] iFoo x; 39}; 40 41/*REL: M13 M14 M15 */ 42[version=0.0] 43struct iX { 44 /** 45 * Comment for function x 46 */ 47 [version=0.0] iFoo x; 48 /** 49 * Comment for member y 50 */ 51 [version=1.0] int32_t y; 52}; 53 54