aboutsummaryrefslogtreecommitdiff
path: root/objectivec/GPBMessage.h
diff options
context:
space:
mode:
authorSergio Campamá <kaipi@google.com>2016-07-15 15:04:01 -0700
committerThomas Van Lenten <thomasvl@google.com>2016-07-15 18:04:01 -0400
commitb99577c5ac3f3627f7eb11c866fad887920d1453 (patch)
treedf449992104b20fd091e9ae7ac265cf62b72993b /objectivec/GPBMessage.h
parentf6d1d1a17e914270992d205fa8fa2b3cf4a0a9f7 (diff)
downloadprotobuf-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.h3
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;