Fixup examples for recent API changes

This commit is contained in:
Jason Paryani
2013-12-08 15:52:31 -08:00
parent 2d49a958d5
commit 2155417d38
2 changed files with 3 additions and 3 deletions

View File

@@ -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;