aboutsummaryrefslogtreecommitdiff
path: root/objectivec/google/protobuf/Any.pbobjc.m
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2016-09-15 13:27:17 -0400
committerThomas Van Lenten <thomasvl@google.com>2016-09-15 17:22:51 -0400
commit1aa65000568422f0187d2eb4fef00bcdca0cc125 (patch)
tree0e7a0728d64ef3cdec39ab42c6113ee714eab388 /objectivec/google/protobuf/Any.pbobjc.m
parent86fcd879b38505446799b2f2a2929415ddad620a (diff)
downloadprotobuf-1aa65000568422f0187d2eb4fef00bcdca0cc125.tar.gz
protobuf-1aa65000568422f0187d2eb4fef00bcdca0cc125.tar.bz2
protobuf-1aa65000568422f0187d2eb4fef00bcdca0cc125.zip
Update the ObjC version checks to support a min and current version.
- Capture the version used to generated. - Check at compile time and runtime that generated code isn't from a newer version, also check that the min version required is also supported. - Keep the old constants/macros/functions to special case the last version that was working so those generated sources still work until we decide otherwise.
Diffstat (limited to 'objectivec/google/protobuf/Any.pbobjc.m')
-rw-r--r--objectivec/google/protobuf/Any.pbobjc.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/objectivec/google/protobuf/Any.pbobjc.m b/objectivec/google/protobuf/Any.pbobjc.m
index e1054926..d210643f 100644
--- a/objectivec/google/protobuf/Any.pbobjc.m
+++ b/objectivec/google/protobuf/Any.pbobjc.m
@@ -39,7 +39,7 @@ static GPBFileDescriptor *GPBAnyRoot_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];