|
@@ -82,7 +82,9 @@ typedef struct GPBDoubleValue__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBDoubleValue__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|
|
@@ -125,7 +127,9 @@ typedef struct GPBFloatValue__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBFloatValue__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|
|
@@ -168,7 +172,9 @@ typedef struct GPBInt64Value__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBInt64Value__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|
|
@@ -211,7 +217,9 @@ typedef struct GPBUInt64Value__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBUInt64Value__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|
|
@@ -254,7 +262,9 @@ typedef struct GPBInt32Value__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBInt32Value__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|
|
@@ -297,7 +307,9 @@ typedef struct GPBUInt32Value__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBUInt32Value__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|
|
@@ -339,7 +351,9 @@ typedef struct GPBBoolValue__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBBoolValue__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|
|
@@ -382,7 +396,9 @@ typedef struct GPBStringValue__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBStringValue__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|
|
@@ -425,7 +441,9 @@ typedef struct GPBBytesValue__storage_ {
|
|
|
fieldCount:(uint32_t)(sizeof(fields) / sizeof(GPBMessageFieldDescription))
|
|
|
storageSize:sizeof(GPBBytesValue__storage_)
|
|
|
flags:GPBDescriptorInitializationFlag_None];
|
|
|
- NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #if defined(DEBUG) && DEBUG
|
|
|
+ NSAssert(descriptor == nil, @"Startup recursed!");
|
|
|
+ #endif // DEBUG
|
|
|
descriptor = localDescriptor;
|
|
|
}
|
|
|
return descriptor;
|