mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
32 lines
410 B
Plaintext
32 lines
410 B
Plaintext
|
|
namespace mozilla {
|
|
namespace _ipdltest {
|
|
|
|
|
|
protocol PTestSanity {
|
|
|
|
child:
|
|
Ping(int zero, float zeroPtFive);
|
|
|
|
parent:
|
|
Pong(int one, float zeroPtTwoFive);
|
|
|
|
both:
|
|
UNREACHED();
|
|
|
|
|
|
state PING:
|
|
send Ping goto PONG;
|
|
|
|
state PONG:
|
|
recv Pong goto DEAD;
|
|
|
|
// hmm ... maybe support this idiom natively?
|
|
state DEAD:
|
|
send UNREACHED goto DEAD;
|
|
};
|
|
|
|
|
|
} // namespace mozilla
|
|
} // namespace _ipdltest
|