Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(382)

Side by Side Diff: third_party/protobuf/objectivec/GPBUtilities_PackagePrivate.h

Issue 1983203003: Update third_party/protobuf to protobuf-v3.0.0-beta-3 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: owners Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Protocol Buffers - Google's data interchange format 1 // Protocol Buffers - Google's data interchange format
2 // Copyright 2008 Google Inc. All rights reserved. 2 // Copyright 2008 Google Inc. All rights reserved.
3 // https://developers.google.com/protocol-buffers/ 3 // https://developers.google.com/protocol-buffers/
4 // 4 //
5 // Redistribution and use in source and binary forms, with or without 5 // Redistribution and use in source and binary forms, with or without
6 // modification, are permitted provided that the following conditions are 6 // modification, are permitted provided that the following conditions are
7 // met: 7 // met:
8 // 8 //
9 // * Redistributions of source code must retain the above copyright 9 // * Redistributions of source code must retain the above copyright
10 // notice, this list of conditions and the following disclaimer. 10 // notice, this list of conditions and the following disclaimer.
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 GPBMessageFieldDescription *fieldDesc = field->description_; 178 GPBMessageFieldDescription *fieldDesc = field->description_;
179 return GPBGetHasIvar(self, fieldDesc->hasIndex, fieldDesc->number); 179 return GPBGetHasIvar(self, fieldDesc->hasIndex, fieldDesc->number);
180 } 180 }
181 GPB_INLINE void GPBSetHasIvarField(GPBMessage *self, GPBFieldDescriptor *field, 181 GPB_INLINE void GPBSetHasIvarField(GPBMessage *self, GPBFieldDescriptor *field,
182 BOOL value) { 182 BOOL value) {
183 GPBMessageFieldDescription *fieldDesc = field->description_; 183 GPBMessageFieldDescription *fieldDesc = field->description_;
184 GPBSetHasIvar(self, fieldDesc->hasIndex, fieldDesc->number, value); 184 GPBSetHasIvar(self, fieldDesc->hasIndex, fieldDesc->number, value);
185 } 185 }
186 186
187 void GPBMaybeClearOneof(GPBMessage *self, GPBOneofDescriptor *oneof, 187 void GPBMaybeClearOneof(GPBMessage *self, GPBOneofDescriptor *oneof,
188 uint32_t fieldNumberNotToClear); 188 int32_t oneofHasIndex, uint32_t fieldNumberNotToClear);
189 189
190 //%PDDM-DEFINE GPB_IVAR_SET_DECL(NAME, TYPE) 190 //%PDDM-DEFINE GPB_IVAR_SET_DECL(NAME, TYPE)
191 //%void GPBSet##NAME##IvarWithFieldInternal(GPBMessage *self, 191 //%void GPBSet##NAME##IvarWithFieldInternal(GPBMessage *self,
192 //% NAME$S GPBFieldDescriptor *field, 192 //% NAME$S GPBFieldDescriptor *field,
193 //% NAME$S TYPE value, 193 //% NAME$S TYPE value,
194 //% NAME$S GPBFileSyntax syntax); 194 //% NAME$S GPBFileSyntax syntax);
195 //%PDDM-EXPAND GPB_IVAR_SET_DECL(Bool, BOOL) 195 //%PDDM-EXPAND GPB_IVAR_SET_DECL(Bool, BOOL)
196 // This block of code is generated, do not edit it directly. 196 // This block of code is generated, do not edit it directly.
197 197
198 void GPBSetBoolIvarWithFieldInternal(GPBMessage *self, 198 void GPBSetBoolIvarWithFieldInternal(GPBMessage *self,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 322
323 #undef GPB_MESSAGE_SIGNATURE_ENTRY 323 #undef GPB_MESSAGE_SIGNATURE_ENTRY
324 324
325 - (id)getArray; 325 - (id)getArray;
326 - (NSUInteger)getArrayCount; 326 - (NSUInteger)getArrayCount;
327 - (void)setArray:(NSArray *)array; 327 - (void)setArray:(NSArray *)array;
328 + (id)getClassValue; 328 + (id)getClassValue;
329 @end 329 @end
330 330
331 CF_EXTERN_C_END 331 CF_EXTERN_C_END
OLDNEW
« no previous file with comments | « third_party/protobuf/objectivec/GPBUtilities.m ('k') | third_party/protobuf/objectivec/README.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698