Fixup examples for recent API changes
This commit is contained in:
@@ -37,7 +37,7 @@ interface TestExtends extends(TestInterface) {
|
||||
|
||||
interface TestPipeline {
|
||||
getCap @0 (n: UInt32, inCap :TestInterface) -> (s: Text, outBox :Box);
|
||||
testPointers @1 (cap :TestInterface, obj :Object, list :List(TestInterface)) -> ();
|
||||
testPointers @1 (cap :TestInterface, obj :AnyPointer, list :List(TestInterface)) -> ();
|
||||
|
||||
struct Box {
|
||||
cap @0 :TestInterface;
|
||||
|
||||
@@ -161,7 +161,7 @@ struct TestDefaults {
|
||||
}
|
||||
|
||||
struct TestObject {
|
||||
objectField @0 :Object;
|
||||
objectField @0 :AnyPointer;
|
||||
|
||||
# Do not add any other fields here! Some tests rely on objectField being the last pointer
|
||||
# in the struct.
|
||||
@@ -587,7 +587,7 @@ interface TestExtends extends(TestInterface) {
|
||||
|
||||
interface TestPipeline {
|
||||
getCap @0 (n: UInt32, inCap :TestInterface) -> (s: Text, outBox :Box);
|
||||
testPointers @1 (cap :TestInterface, obj :Object, list :List(TestInterface)) -> ();
|
||||
testPointers @1 (cap :TestInterface, obj :AnyPointer, list :List(TestInterface)) -> ();
|
||||
|
||||
struct Box {
|
||||
cap @0 :TestInterface;
|
||||
|
||||
Reference in New Issue
Block a user