summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/ipdl/ok/PbasicUsing.ipdl
blob: ac4df3a258f9a0a34dcc15b54754709bb1c68f00 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
using SomeType from "SomeFile.h";
using class SomeClass from "SomeFile.h";
using struct SomeStruct from "SomeFile.h";

[RefCounted] using SomeRefcountedType from "SomeFile.h";
[RefCounted] using class SomeRefcountedClass from "SomeFile.h";
[RefCounted] using struct SomeRefcountedStruct from "SomeFile.h";

[MoveOnly] using SomeMoveonlyType from "SomeFile.h";
[MoveOnly] using class SomeMoveonlyClass from "SomeFile.h";
[MoveOnly] using struct SomeMoveonlyStruct from "SomeFile.h";

[RefCounted, MoveOnly] using SomeRefcountedMoveonlyType from "SomeFile.h";
[RefCounted, MoveOnly] using class SomeRefcountedMoveonlyClass from "SomeFile.h";
[RefCounted, MoveOnly] using struct SomeRefcountedMoveonlyStruct from "SomeFile.h";

[MoveOnly=data] using SomeMoveonlyDataType from "SomeFile.h";
[MoveOnly=data] using class SomeMoveonlyDataClass from "SomeFile.h";
[MoveOnly=data] using struct SomeMoveonlyDataStruct from "SomeFile.h";

[MoveOnly=send] using SomeMoveonlySendType from "SomeFile.h";
[MoveOnly=send] using class SomeMoveonlySendClass from "SomeFile.h";
[MoveOnly=send] using struct SomeMoveonlySendStruct from "SomeFile.h";

union SomeUnion
{
  SomeType;
  SomeClass;
  SomeStruct;
  SomeRefcountedType;
  SomeRefcountedClass;
  SomeRefcountedStruct;
  SomeMoveonlyType;
  SomeMoveonlyClass;
  SomeMoveonlyStruct;
  SomeRefcountedMoveonlyType;
  SomeRefcountedMoveonlyClass;
  SomeRefcountedMoveonlyStruct;
  SomeMoveonlyDataType;
  SomeMoveonlyDataClass;
  SomeMoveonlyDataStruct;
  SomeMoveonlySendType;
  SomeMoveonlySendClass;
  SomeMoveonlySendStruct;
};

protocol PbasicUsing {
child:
    async Msg(SomeUnion foo);
};