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 // If you want to build protocol buffers in your own project without adding the | 31 // If you want to build protocol buffers in your own project without adding the |
32 // project dependency, you can just add this file. | 32 // project dependency, you can just add this file. |
33 | 33 |
34 | |
35 // This warning seems to treat code differently when it is #imported than when | |
36 // it is inline in the file. GPBDictionary.m compiles cleanly in other targets, | |
37 // but when #imported here it triggers a bunch of warnings that don't make | |
38 // much sense, and don't trigger when compiled directly. So we shut off the | |
39 // warnings here. | |
40 #pragma clang diagnostic ignored "-Wnullability-completeness" | |
41 | |
42 #import "GPBArray.m" | 34 #import "GPBArray.m" |
43 #import "GPBCodedInputStream.m" | 35 #import "GPBCodedInputStream.m" |
44 #import "GPBCodedOutputStream.m" | 36 #import "GPBCodedOutputStream.m" |
45 #import "GPBDescriptor.m" | 37 #import "GPBDescriptor.m" |
46 #import "GPBDictionary.m" | 38 #import "GPBDictionary.m" |
47 #import "GPBExtensionInternals.m" | 39 #import "GPBExtensionInternals.m" |
48 #import "GPBExtensionRegistry.m" | 40 #import "GPBExtensionRegistry.m" |
49 #import "GPBMessage.m" | 41 #import "GPBMessage.m" |
50 #import "GPBRootObject.m" | 42 #import "GPBRootObject.m" |
51 #import "GPBUnknownField.m" | 43 #import "GPBUnknownField.m" |
52 #import "GPBUnknownFieldSet.m" | 44 #import "GPBUnknownFieldSet.m" |
53 #import "GPBUtilities.m" | 45 #import "GPBUtilities.m" |
54 #import "GPBWellKnownTypes.m" | 46 #import "GPBWellKnownTypes.m" |
55 #import "GPBWireFormat.m" | 47 #import "GPBWireFormat.m" |
56 | 48 |
| 49 // Duration and Timestamp are #imported into GPBWellKnownTypes.m to the |
| 50 // Objective C categories added will always be linked in with the classes. |
57 #import "google/protobuf/Any.pbobjc.m" | 51 #import "google/protobuf/Any.pbobjc.m" |
58 #import "google/protobuf/Api.pbobjc.m" | 52 #import "google/protobuf/Api.pbobjc.m" |
59 #import "google/protobuf/Duration.pbobjc.m" | 53 // #import "google/protobuf/Duration.pbobjc.m" |
60 #import "google/protobuf/Empty.pbobjc.m" | 54 #import "google/protobuf/Empty.pbobjc.m" |
61 #import "google/protobuf/FieldMask.pbobjc.m" | 55 #import "google/protobuf/FieldMask.pbobjc.m" |
62 #import "google/protobuf/SourceContext.pbobjc.m" | 56 #import "google/protobuf/SourceContext.pbobjc.m" |
63 #import "google/protobuf/Struct.pbobjc.m" | 57 #import "google/protobuf/Struct.pbobjc.m" |
64 #import "google/protobuf/Timestamp.pbobjc.m" | 58 // #import "google/protobuf/Timestamp.pbobjc.m" |
65 #import "google/protobuf/Type.pbobjc.m" | 59 #import "google/protobuf/Type.pbobjc.m" |
66 #import "google/protobuf/Wrappers.pbobjc.m" | 60 #import "google/protobuf/Wrappers.pbobjc.m" |
OLD | NEW |