From b99577c5ac3f3627f7eb11c866fad887920d1453 Mon Sep 17 00:00:00 2001 From: Sergio Campamá Date: Fri, 15 Jul 2016 15:04:01 -0700 Subject: Exposes the currently registered extensions for a message and removes the internal sortedExtensionsInUse --- objectivec/GPBMessage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'objectivec/GPBMessage.h') 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; -- cgit v1.2.3