blob: f92a5cdc204838eecfb17a841352e54953e399d6 (
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
30
31
32
33
34
35
|
#define stringview ["cpp:view-type:std::string_view"] string
[["cpp:include:string_view_support.h"]]
module TestIceSpider {
class SomeModel {
string value;
};
struct Mash1 {
SomeModel a;
SomeModel b;
};
class Mash2 {
SomeModel a;
SomeModel b;
string s;
};
["cpp:ice_print"]
exception Ex {
string message;
};
interface TestApi {
int simple() throws Ex;
string simplei(int i);
SomeModel index();
SomeModel withParams(string s, int i) throws Ex;
void returnNothing(stringview s) throws Ex;
void complexParam(optional(0) string s, SomeModel m);
};
interface DummyPlugin {
};
};
|