| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |