Merge more cocoa changes from Andrew McGeachie
Reviewed By: dreiss
Test Plan: To be provided later by McGeachie. Compiler builds fine. Does not affect other libraries.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665259 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cocoa/TProtocol.h b/lib/cocoa/TProtocol.h
index 96d3af6..bc64789 100644
--- a/lib/cocoa/TProtocol.h
+++ b/lib/cocoa/TProtocol.h
@@ -30,17 +30,17 @@
- (id <TTransport>) transport;
-- (void) readMessageBeginWithName: (NSString **) name
- type: (int *) type
- sequenceID: (int *) sequenceID;
+- (void) readMessageBeginReturningName: (NSString **) name
+ type: (int *) type
+ sequenceID: (int *) sequenceID;
- (void) readMessageEnd;
-- (void) readStructBeginWithName: (NSString **) name;
+- (void) readStructBeginReturningName: (NSString **) name;
- (void) readStructEnd;
-- (void) readFieldBeginWithName: (NSString **) name
- type: (int *) fieldType
- fieldID: (int *) fieldID;
+- (void) readFieldBeginReturningName: (NSString **) name
+ type: (int *) fieldType
+ fieldID: (int *) fieldID;
- (void) readFieldEnd;
- (NSString *) readString;
@@ -59,19 +59,19 @@
- (NSData *) readBinary;
-- (void) readMapBeginWithKeyType: (int *) keyType
- valueType: (int *) valueType
- size: (int *) size;
+- (void) readMapBeginReturningKeyType: (int *) keyType
+ valueType: (int *) valueType
+ size: (int *) size;
- (void) readMapEnd;
-- (void) readSetBeginWithElementType: (int *) elementType
- size: (int *) size;
+- (void) readSetBeginReturningElementType: (int *) elementType
+ size: (int *) size;
- (void) readSetEnd;
-- (void) readListBeginWithElementType: (int *) elementType
- size: (int *) size;
+- (void) readListBeginReturningElementType: (int *) elementType
+ size: (int *) size;
- (void) readListEnd;
@@ -99,6 +99,8 @@
- (void) writeDouble: (double) value;
+- (void) writeBool: (BOOL) value;
+
- (void) writeBinary: (NSData *) data;
- (void) writeFieldStop;