diff options
author | Sergio Campamá <kaipi@google.com> | 2016-07-15 15:04:01 -0700 |
---|---|---|
committer | Thomas Van Lenten <thomasvl@google.com> | 2016-07-15 18:04:01 -0400 |
commit | b99577c5ac3f3627f7eb11c866fad887920d1453 (patch) | |
tree | df449992104b20fd091e9ae7ac265cf62b72993b /objectivec/GPBMessage.h | |
parent | f6d1d1a17e914270992d205fa8fa2b3cf4a0a9f7 (diff) | |
download | protobuf-b99577c5ac3f3627f7eb11c866fad887920d1453.tar.gz protobuf-b99577c5ac3f3627f7eb11c866fad887920d1453.tar.bz2 protobuf-b99577c5ac3f3627f7eb11c866fad887920d1453.zip |
Exposes the currently registered extensions for a message and removes the internal sortedExtensionsInUse
Diffstat (limited to 'objectivec/GPBMessage.h')
-rw-r--r-- | objectivec/GPBMessage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/objectivec/GPBMessage.h b/objectivec/GPBMessage.h index 9608cdb0..7e0f58a3 100644 --- a/objectivec/GPBMessage.h +++ b/objectivec/GPBMessage.h @@ -275,6 +275,9 @@ CF_EXTERN_C_END /// Return the descriptor for the message. - (GPBDescriptor *)descriptor; +/// Returns an array with the currently set GPBExtensionDescriptors. +- (NSArray *)extensionsCurrentlySet; + /// Test to see if the given extension is set on the message. - (BOOL)hasExtension:(GPBExtensionDescriptor *)extension; |