ADD: added new version of protobuf
This commit is contained in:
@@ -78,12 +78,13 @@ typedef struct GPBMessage_Storage *GPBMessage_StoragePtr;
|
||||
// or zero for EOF.
|
||||
// NOTE: This will throw if there is an error while parsing.
|
||||
- (void)mergeFromCodedInputStream:(GPBCodedInputStream *)input
|
||||
extensionRegistry:(id<GPBExtensionRegistry>)extensionRegistry;
|
||||
extensionRegistry:(GPBExtensionRegistry *)extensionRegistry;
|
||||
|
||||
// Parses the next delimited message of this type from the input and merges it
|
||||
// with this message.
|
||||
- (void)mergeDelimitedFromCodedInputStream:(GPBCodedInputStream *)input
|
||||
extensionRegistry:(id<GPBExtensionRegistry>)extensionRegistry;
|
||||
extensionRegistry:
|
||||
(GPBExtensionRegistry *)extensionRegistry;
|
||||
|
||||
- (void)addUnknownMapEntry:(int32_t)fieldNum value:(NSData *)data;
|
||||
|
||||
@@ -91,12 +92,14 @@ typedef struct GPBMessage_Storage *GPBMessage_StoragePtr;
|
||||
|
||||
CF_EXTERN_C_BEGIN
|
||||
|
||||
|
||||
// Call this before using the readOnlySemaphore_. This ensures it is created only once.
|
||||
void GPBPrepareReadOnlySemaphore(GPBMessage *self);
|
||||
|
||||
// Returns a new instance that was automatically created by |autocreator| for
|
||||
// its field |field|.
|
||||
GPBMessage *GPBCreateMessageWithAutocreator(Class msgClass, GPBMessage *autocreator,
|
||||
GPBMessage *GPBCreateMessageWithAutocreator(Class msgClass,
|
||||
GPBMessage *autocreator,
|
||||
GPBFieldDescriptor *field)
|
||||
__attribute__((ns_returns_retained));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user