| 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 15 matching lines...) Expand all Loading... |
| 26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
| 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | 27 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 28 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 29 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 30 | 30 |
| 31 #import "GPBExtensionInternals.h" | 31 #import "GPBExtensionInternals.h" |
| 32 | 32 |
| 33 #import <objc/runtime.h> | 33 #import <objc/runtime.h> |
| 34 | 34 |
| 35 #import "GPBCodedInputStream_PackagePrivate.h" | 35 #import "GPBCodedInputStream_PackagePrivate.h" |
| 36 #import "GPBCodedOutputStream.h" | 36 #import "GPBCodedOutputStream_PackagePrivate.h" |
| 37 #import "GPBDescriptor_PackagePrivate.h" | 37 #import "GPBDescriptor_PackagePrivate.h" |
| 38 #import "GPBMessage_PackagePrivate.h" | 38 #import "GPBMessage_PackagePrivate.h" |
| 39 #import "GPBUtilities_PackagePrivate.h" | 39 #import "GPBUtilities_PackagePrivate.h" |
| 40 | 40 |
| 41 static id NewSingleValueFromInputStream(GPBExtensionDescriptor *extension, | 41 static id NewSingleValueFromInputStream(GPBExtensionDescriptor *extension, |
| 42 GPBCodedInputStream *input, | 42 GPBCodedInputStream *input, |
| 43 GPBExtensionRegistry *extensionRegistry, | 43 GPBExtensionRegistry *extensionRegistry, |
| 44 GPBMessage *existingValue) | 44 GPBMessage *existingValue) |
| 45 __attribute__((ns_returns_retained)); | 45 __attribute__((ns_returns_retained)); |
| 46 | 46 |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 [input readMessage:message extensionRegistry:extensionRegistry]; | 371 [input readMessage:message extensionRegistry:extensionRegistry]; |
| 372 } | 372 } |
| 373 } | 373 } |
| 374 | 374 |
| 375 return message; | 375 return message; |
| 376 } | 376 } |
| 377 } | 377 } |
| 378 | 378 |
| 379 return nil; | 379 return nil; |
| 380 } | 380 } |
| OLD | NEW |