summaryrefslogtreecommitdiffstats
path: root/ipc/ipdl/test/cxx/PTestShmem.ipdl
blob: 7eb6dfdc36552e81c98ca783f4f41ee8f1e5825f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
include "mozilla/_ipdltest/TestShmem.h";

namespace mozilla {
namespace _ipdltest {

[ManualDealloc, ChildImpl="TestShmemChild", ParentImpl="TestShmemParent"]
protocol PTestShmem {
child:
    async Give(Shmem mem, Shmem unsafe, uint32_t expectedSize);

parent:
    async Take(Shmem mem, Shmem unsafe, uint32_t expectedSize);
    async __delete__();
};

}
}