blob: e017daf35ccd41bff12031a175c39ac2ab8d6daa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/*
* 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.
*/
/**
* This file will test that the IDL snippet matches the comment.
*/
/* struct ist { void* X; }; */
struct ist {
mem_t X;
};
/*
* struct iface1 {
* int8_t (*mem1)(int16_t x, int32_t y);
* int32_t (*mem2)(const struct ist* a);
* int32_t (*mem3)(struct ist* b);
* };
*/
interface iface1 {
int8_t mem1([in] int16_t x, [in] int32_t y);
int32_t mem2([in] ist a);
int32_t mem3([out] ist b);
};
|