Merge "Verify that vectors of arrays within structures are properly marshaled" am: e168ebab22
am: cb38b3cd29
am: 17613613b9
Change-Id: I6c355d10d67e2a9c4e7678ebabb9914b3dd5af0c
This commit is contained in:
commit
ca9109c605
1 changed files with 8 additions and 0 deletions
|
@ -58,6 +58,12 @@ interface IBase {
|
||||||
ThreeStrings[5] s;
|
ThreeStrings[5] s;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef uint8_t[6] MacAddress;
|
||||||
|
|
||||||
|
struct VectorOfArray {
|
||||||
|
vec<MacAddress> addresses;
|
||||||
|
};
|
||||||
|
|
||||||
someBaseMethod();
|
someBaseMethod();
|
||||||
|
|
||||||
someBoolMethod(bool x) generates (bool y);
|
someBoolMethod(bool x) generates (bool y);
|
||||||
|
@ -68,6 +74,8 @@ interface IBase {
|
||||||
someMethodWithFooArrays(Foo[2] fooInput) generates (Foo[2] fooOutput);
|
someMethodWithFooArrays(Foo[2] fooInput) generates (Foo[2] fooOutput);
|
||||||
someMethodWithFooVectors(vec<Foo> fooInput) generates (vec<Foo> fooOutput);
|
someMethodWithFooVectors(vec<Foo> fooInput) generates (vec<Foo> fooOutput);
|
||||||
|
|
||||||
|
someMethodWithVectorOfArray(VectorOfArray in) generates (VectorOfArray out);
|
||||||
|
|
||||||
transpose(StringMatrix5x3 in) generates (StringMatrix3x5 out);
|
transpose(StringMatrix5x3 in) generates (StringMatrix3x5 out);
|
||||||
transpose2(ThreeStrings[5] in) generates (FiveStrings[3] out);
|
transpose2(ThreeStrings[5] in) generates (FiveStrings[3] out);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue