blob: 325f8f5abc4ece6fb2fbede865fdbe724882aed6 [file] [log] [blame]
library fidl.test.llcpp.basictypes;
using zx;
struct SimpleStruct {
int32 field;
handle<eventpair> ep;
array<array<handle<eventpair>>:4>:5 arr;
};
/// Test interface implemented by both C and LLCPP
[Layout = "Simple"]
protocol TestInterface {
/// Verifies that all the handles are valid channels, then returns
/// `ZX_OK` and loops back the field member. Otherwise, returns an error.
ConsumeSimpleStruct(SimpleStruct arg) -> (zx.status status, int32 field);
};