Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | // source: google/protobuf/empty.proto |
| 3 | |
| 4 | #import "GPBProtocolBuffers_RuntimeSupport.h" |
| 5 | #import "google/protobuf/Empty.pbobjc.h" |
| 6 | // @@protoc_insertion_point(imports) |
| 7 | |
| 8 | #pragma mark - GPBEmptyRoot |
| 9 | |
| 10 | @implementation GPBEmptyRoot |
| 11 | |
| 12 | @end |
| 13 | |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 14 | #pragma mark - GPBEmptyRoot_FileDescriptor |
| 15 | |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 16 | static GPBFileDescriptor *GPBEmptyRoot_FileDescriptor(void) { |
| 17 | // This is called by +initialize so there is no need to worry |
| 18 | // about thread safety of the singleton. |
| 19 | static GPBFileDescriptor *descriptor = NULL; |
| 20 | if (!descriptor) { |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 21 | GPBDebugCheckRuntimeVersion(); |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 22 | descriptor = [[GPBFileDescriptor alloc] initWithPackage:@"google.protobuf" |
| 23 | syntax:GPBFileSyntaxProto3]; |
| 24 | } |
| 25 | return descriptor; |
| 26 | } |
| 27 | |
| 28 | #pragma mark - GPBEmpty |
| 29 | |
| 30 | @implementation GPBEmpty |
| 31 | |
| 32 | |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 33 | typedef struct GPBEmpty__storage_ { |
Thomas Van Lenten | 79a23c4 | 2016-03-17 10:04:21 -0400 | [diff] [blame] | 34 | uint32_t _has_storage_[1]; |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 35 | } GPBEmpty__storage_; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 36 | |
| 37 | // This method is threadsafe because it is initially called |
| 38 | // in +initialize for each subclass. |
| 39 | + (GPBDescriptor *)descriptor { |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 40 | static GPBDescriptor *descriptor = nil; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 41 | if (!descriptor) { |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 42 | GPBDescriptor *localDescriptor = |
| 43 | [GPBDescriptor allocDescriptorForClass:[GPBEmpty class] |
| 44 | rootClass:[GPBEmptyRoot class] |
| 45 | file:GPBEmptyRoot_FileDescriptor() |
| 46 | fields:NULL |
| 47 | fieldCount:0 |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 48 | storageSize:sizeof(GPBEmpty__storage_) |
Thomas Van Lenten | 79a23c4 | 2016-03-17 10:04:21 -0400 | [diff] [blame] | 49 | flags:0]; |
Thomas Van Lenten | d846b0b | 2015-06-08 16:24:57 -0400 | [diff] [blame] | 50 | NSAssert(descriptor == nil, @"Startup recursed!"); |
| 51 | descriptor = localDescriptor; |
Thomas Van Lenten | 1dcc329 | 2015-05-21 17:14:52 -0400 | [diff] [blame] | 52 | } |
| 53 | return descriptor; |
| 54 | } |
| 55 | |
| 56 | @end |
| 57 | |
| 58 | |
| 59 | // @@protoc_insertion_point(global_scope) |