| 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 13 matching lines...) Expand all Loading... |
| 24 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT | 24 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT |
| 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | 25 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
| 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 "GPBDictionary_PackagePrivate.h" | 31 #import "GPBDictionary_PackagePrivate.h" |
| 32 | 32 |
| 33 #import "GPBCodedInputStream_PackagePrivate.h" | 33 #import "GPBCodedInputStream_PackagePrivate.h" |
| 34 #import "GPBCodedOutputStream.h" | 34 #import "GPBCodedOutputStream_PackagePrivate.h" |
| 35 #import "GPBDescriptor_PackagePrivate.h" | 35 #import "GPBDescriptor_PackagePrivate.h" |
| 36 #import "GPBMessage_PackagePrivate.h" | 36 #import "GPBMessage_PackagePrivate.h" |
| 37 #import "GPBUtilities_PackagePrivate.h" | 37 #import "GPBUtilities_PackagePrivate.h" |
| 38 | 38 |
| 39 // ------------------------------ NOTE ------------------------------ | 39 // ------------------------------ NOTE ------------------------------ |
| 40 // At the moment, this is all using NSNumbers in NSDictionaries under | 40 // At the moment, this is all using NSNumbers in NSDictionaries under |
| 41 // the hood, but it is all hidden so we can come back and optimize | 41 // the hood, but it is all hidden so we can come back and optimize |
| 42 // with direct CFDictionary usage later. The reason that wasn't | 42 // with direct CFDictionary usage later. The reason that wasn't |
| 43 // done yet is needing to support 32bit iOS builds. Otherwise | 43 // done yet is needing to support 32bit iOS builds. Otherwise |
| 44 // it would be pretty simple to store all this data in CFDictionaries | 44 // it would be pretty simple to store all this data in CFDictionaries |
| (...skipping 13501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 13546 } | 13546 } |
| 13547 | 13547 |
| 13548 - (void)enumerateKeysAndObjectsWithOptions:(NSEnumerationOptions)opts | 13548 - (void)enumerateKeysAndObjectsWithOptions:(NSEnumerationOptions)opts |
| 13549 usingBlock:(void (^)(id key, | 13549 usingBlock:(void (^)(id key, |
| 13550 id obj, | 13550 id obj, |
| 13551 BOOL *stop))block { | 13551 BOOL *stop))block { |
| 13552 [_dictionary enumerateKeysAndObjectsWithOptions:opts usingBlock:block]; | 13552 [_dictionary enumerateKeysAndObjectsWithOptions:opts usingBlock:block]; |
| 13553 } | 13553 } |
| 13554 | 13554 |
| 13555 @end | 13555 @end |
| OLD | NEW |