blob: 1a55a0f32688af0fe5fc3f55c320a4d3090f9a30 (
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
29
|
// Copyright 2016 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.
module mojo.test;
interface TestCodeGeneration {
[Sync]
NoInput() => (int32 result);
[Sync]
NoOutput(int32 value) => ();
[Sync]
NoInOut() => ();
[Sync]
HaveInOut(int32 value1, int32 value2) => (int32 result1, int32 result2);
};
interface TestSync {
[Sync]
Ping() => ();
[Sync]
Echo(int32 value) => (int32 result);
AsyncEcho(int32 value) => (int32 result);
};
|