@ -881,7 +881,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
}
}
- ( instancetype ) initWithData : ( NSData * ) data
- ( instancetype ) initWithData : ( NSData * ) data
extensionRegistry : ( GPBExtensionRegistry * ) extensionRegistry
extensionRegistry : ( id < GPBExtensionRegistry > ) extensionRegistry
error : ( NSError * * ) errorPtr {
error : ( NSError * * ) errorPtr {
if ( ( self = [ self init ] ) ) {
if ( ( self = [ self init ] ) ) {
@ try {
@ try {
@ -912,7 +912,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
- ( instancetype ) initWithCodedInputStream : ( GPBCodedInputStream * ) input
- ( instancetype ) initWithCodedInputStream : ( GPBCodedInputStream * ) input
extensionRegistry :
extensionRegistry :
( GPBExtensionRegistry * ) extensionRegistry
( id < GPBExtensionRegistry > ) extensionRegistry
error : ( NSError * * ) errorPtr {
error : ( NSError * * ) errorPtr {
if ( ( self = [ self init ] ) ) {
if ( ( self = [ self init ] ) ) {
@ try {
@ try {
@ -1973,7 +1973,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
#pragma mark - mergeFrom
#pragma mark - mergeFrom
- ( void ) mergeFromData : ( NSData * ) data
- ( void ) mergeFromData : ( NSData * ) data
extensionRegistry : ( GPBExtensionRegistry * ) extensionRegistry {
extensionRegistry : ( id < GPBExtensionRegistry > ) extensionRegistry {
GPBCodedInputStream * input = [ [ GPBCodedInputStream alloc ] initWithData : data ] ;
GPBCodedInputStream * input = [ [ GPBCodedInputStream alloc ] initWithData : data ] ;
[ self mergeFromCodedInputStream : input extensionRegistry : extensionRegistry ] ;
[ self mergeFromCodedInputStream : input extensionRegistry : extensionRegistry ] ;
[ input checkLastTagWas : 0 ] ;
[ input checkLastTagWas : 0 ] ;
@ -1983,7 +1983,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
#pragma mark - mergeDelimitedFrom
#pragma mark - mergeDelimitedFrom
- ( void ) mergeDelimitedFromCodedInputStream : ( GPBCodedInputStream * ) input
- ( void ) mergeDelimitedFromCodedInputStream : ( GPBCodedInputStream * ) input
extensionRegistry : ( GPBExtensionRegistry * ) extensionRegistry {
extensionRegistry : ( id < GPBExtensionRegistry > ) extensionRegistry {
GPBCodedInputStreamState * state = & input - > state_ ;
GPBCodedInputStreamState * state = & input - > state_ ;
if ( GPBCodedInputStreamIsAtEnd ( state ) ) {
if ( GPBCodedInputStreamIsAtEnd ( state ) ) {
return ;
return ;
@ -2003,7 +2003,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
}
}
+ ( instancetype ) parseFromData : ( NSData * ) data
+ ( instancetype ) parseFromData : ( NSData * ) data
extensionRegistry : ( GPBExtensionRegistry * ) extensionRegistry
extensionRegistry : ( id < GPBExtensionRegistry > ) extensionRegistry
error : ( NSError * * ) errorPtr {
error : ( NSError * * ) errorPtr {
return [ [ [ self alloc ] initWithData : data
return [ [ [ self alloc ] initWithData : data
extensionRegistry : extensionRegistry
extensionRegistry : extensionRegistry
@ -2011,7 +2011,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
}
}
+ ( instancetype ) parseFromCodedInputStream : ( GPBCodedInputStream * ) input
+ ( instancetype ) parseFromCodedInputStream : ( GPBCodedInputStream * ) input
extensionRegistry : ( GPBExtensionRegistry * ) extensionRegistry
extensionRegistry : ( id < GPBExtensionRegistry > ) extensionRegistry
error : ( NSError * * ) errorPtr {
error : ( NSError * * ) errorPtr {
return
return
[ [ [ self alloc ] initWithCodedInputStream : input
[ [ [ self alloc ] initWithCodedInputStream : input
@ -2023,7 +2023,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
+ ( instancetype ) parseDelimitedFromCodedInputStream : ( GPBCodedInputStream * ) input
+ ( instancetype ) parseDelimitedFromCodedInputStream : ( GPBCodedInputStream * ) input
extensionRegistry :
extensionRegistry :
( GPBExtensionRegistry * ) extensionRegistry
( id < GPBExtensionRegistry > ) extensionRegistry
error : ( NSError * * ) errorPtr {
error : ( NSError * * ) errorPtr {
GPBMessage * message = [ [ [ self alloc ] init ] autorelease ] ;
GPBMessage * message = [ [ [ self alloc ] init ] autorelease ] ;
@ try {
@ try {
@ -2065,7 +2065,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
}
}
- ( void ) parseMessageSet : ( GPBCodedInputStream * ) input
- ( void ) parseMessageSet : ( GPBCodedInputStream * ) input
extensionRegistry : ( GPBExtensionRegistry * ) extensionRegistry {
extensionRegistry : ( id < GPBExtensionRegistry > ) extensionRegistry {
uint32_t typeId = 0 ;
uint32_t typeId = 0 ;
NSData * rawBytes = nil ;
NSData * rawBytes = nil ;
GPBExtensionDescriptor * extension = nil ;
GPBExtensionDescriptor * extension = nil ;
@ -2117,7 +2117,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
}
}
- ( BOOL ) parseUnknownField : ( GPBCodedInputStream * ) input
- ( BOOL ) parseUnknownField : ( GPBCodedInputStream * ) input
extensionRegistry : ( GPBExtensionRegistry * ) extensionRegistry
extensionRegistry : ( id < GPBExtensionRegistry > ) extensionRegistry
tag : ( uint32_t ) tag {
tag : ( uint32_t ) tag {
GPBWireFormat wireType = GPBWireFormatGetTagWireType ( tag ) ;
GPBWireFormat wireType = GPBWireFormatGetTagWireType ( tag ) ;
int32_t fieldNumber = GPBWireFormatGetTagFieldNumber ( tag ) ;
int32_t fieldNumber = GPBWireFormatGetTagFieldNumber ( tag ) ;
@ -2170,7 +2170,7 @@ static GPBUnknownFieldSet *GetOrMakeUnknownFields(GPBMessage *self) {
static void MergeSingleFieldFromCodedInputStream (
static void MergeSingleFieldFromCodedInputStream (
GPBMessage * self , GPBFieldDescriptor * field , GPBFileSyntax syntax ,
GPBMessage * self , GPBFieldDescriptor * field , GPBFileSyntax syntax ,
GPBCodedInputStream * input , GPBExtensionRegistry * extensionRegistry ) {
GPBCodedInputStream * input , id < GPBExtensionRegistry > extensionRegistry ) {
GPBDataType fieldDataType = GPBGetFieldDataType ( field ) ;
GPBDataType fieldDataType = GPBGetFieldDataType ( field ) ;
switch ( fieldDataType ) {
switch ( fieldDataType ) {
#define CASE_SINGLE_POD ( NAME , TYPE , FUNC_TYPE ) \
#define CASE_SINGLE_POD ( NAME , TYPE , FUNC_TYPE ) \
@ -2306,7 +2306,7 @@ static void MergeRepeatedPackedFieldFromCodedInputStream(
static void MergeRepeatedNotPackedFieldFromCodedInputStream (
static void MergeRepeatedNotPackedFieldFromCodedInputStream (
GPBMessage * self , GPBFieldDescriptor * field , GPBFileSyntax syntax ,
GPBMessage * self , GPBFieldDescriptor * field , GPBFileSyntax syntax ,
GPBCodedInputStream * input , GPBExtensionRegistry * extensionRegistry ) {
GPBCodedInputStream * input , id < GPBExtensionRegistry > extensionRegistry ) {
GPBCodedInputStreamState * state = & input - > state_ ;
GPBCodedInputStreamState * state = & input - > state_ ;
id genericArray = GetOrCreateArrayIvarWithField ( self , field ) ;
id genericArray = GetOrCreateArrayIvarWithField ( self , field ) ;
switch ( GPBGetFieldDataType ( field ) ) {
switch ( GPBGetFieldDataType ( field ) ) {
@ -2371,7 +2371,7 @@ static void MergeRepeatedNotPackedFieldFromCodedInputStream(
}
}
- ( void ) mergeFromCodedInputStream : ( GPBCodedInputStream * ) input
- ( void ) mergeFromCodedInputStream : ( GPBCodedInputStream * ) input
extensionRegistry : ( GPBExtensionRegistry * ) extensionRegistry {
extensionRegistry : ( id < GPBExtensionRegistry > ) extensionRegistry {
GPBDescriptor * descriptor = [ self descriptor ] ;
GPBDescriptor * descriptor = [ self descriptor ] ;
GPBFileSyntax syntax = descriptor . file . syntax ;
GPBFileSyntax syntax = descriptor . file . syntax ;
GPBCodedInputStreamState * state = & input - > state_ ;
GPBCodedInputStreamState * state = & input - > state_ ;