Index: third_party/protobuf/objectivec/google/protobuf/Empty.pbobjc.m |
diff --git a/third_party/protobuf/objectivec/google/protobuf/Empty.pbobjc.m b/third_party/protobuf/objectivec/google/protobuf/Empty.pbobjc.m |
index 88753aaf4463f6ed81a4685c4c7ff762a41924e0..506b500e0490cfba4c2a9010d36cc7fbe5c24295 100644 |
--- a/third_party/protobuf/objectivec/google/protobuf/Empty.pbobjc.m |
+++ b/third_party/protobuf/objectivec/google/protobuf/Empty.pbobjc.m |
@@ -1,8 +1,23 @@ |
// Generated by the protocol buffer compiler. DO NOT EDIT! |
// source: google/protobuf/empty.proto |
-#import "GPBProtocolBuffers_RuntimeSupport.h" |
-#import "google/protobuf/Empty.pbobjc.h" |
+// This CPP symbol can be defined to use imports that match up to the framework |
+// imports needed when using CocoaPods. |
+#if !defined(GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS) |
+ #define GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS 0 |
+#endif |
+ |
+#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS |
+ #import <Protobuf/GPBProtocolBuffers_RuntimeSupport.h> |
+#else |
+ #import "GPBProtocolBuffers_RuntimeSupport.h" |
+#endif |
+ |
+#if GPB_USE_PROTOBUF_FRAMEWORK_IMPORTS |
+ #import <Protobuf/Empty.pbobjc.h> |
+#else |
+ #import "google/protobuf/Empty.pbobjc.h" |
+#endif |
// @@protoc_insertion_point(imports) |
#pragma clang diagnostic push |
@@ -12,6 +27,9 @@ |
@implementation GPBEmptyRoot |
+// No extensions in the file and no imports, so no need to generate |
+// +extensionRegistry. |
+ |
@end |
#pragma mark - GPBEmptyRoot_FileDescriptor |
@@ -21,8 +39,9 @@ static GPBFileDescriptor *GPBEmptyRoot_FileDescriptor(void) { |
// about thread safety of the singleton. |
static GPBFileDescriptor *descriptor = NULL; |
if (!descriptor) { |
- GPBDebugCheckRuntimeVersion(); |
+ GPB_DEBUG_CHECK_RUNTIME_VERSIONS(); |
descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" |
+ objcPrefix:@"GPB" |
syntax:GPBFileSyntaxProto3]; |
} |
return descriptor; |
@@ -49,7 +68,7 @@ typedef struct GPBEmpty__storage_ { |
fields:NULL |
fieldCount:0 |
storageSize:sizeof(GPBEmpty__storage_) |
- flags:0]; |
+ flags:GPBDescriptorInitializationFlag_None]; |
NSAssert(descriptor == nil, @"Startup recursed!"); |
descriptor = localDescriptor; |
} |