aboutsummaryrefslogtreecommitdiff
path: root/objectivec/GPBExtensionRegistry.h
diff options
context:
space:
mode:
authorPaul Yang <TeBoring@users.noreply.github.com>2015-06-09 17:17:45 -0700
committerPaul Yang <TeBoring@users.noreply.github.com>2015-06-09 17:17:45 -0700
commitfb466c13a7c0280fdc30acf86d3b29235a904ba5 (patch)
tree938c7b2e06268887d766a4ac03d24fcb89f21ef8 /objectivec/GPBExtensionRegistry.h
parentfd73235f6b2534aa63af41359d9f386ade43a5cc (diff)
parentd846b0b059b4d867536b98aa29475a387aa09114 (diff)
downloadprotobuf-fb466c13a7c0280fdc30acf86d3b29235a904ba5.tar.gz
protobuf-fb466c13a7c0280fdc30acf86d3b29235a904ba5.tar.bz2
protobuf-fb466c13a7c0280fdc30acf86d3b29235a904ba5.zip
Merge pull request #480 from thomasvl/objc_beta_drop
Beta quality drop of Objective C Support.
Diffstat (limited to 'objectivec/GPBExtensionRegistry.h')
-rw-r--r--objectivec/GPBExtensionRegistry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/objectivec/GPBExtensionRegistry.h b/objectivec/GPBExtensionRegistry.h
index e382971c..07a99e42 100644
--- a/objectivec/GPBExtensionRegistry.h
+++ b/objectivec/GPBExtensionRegistry.h
@@ -31,7 +31,7 @@
#import <Foundation/Foundation.h>
@class GPBDescriptor;
-@class GPBExtensionField;
+@class GPBExtensionDescriptor;
// A table of known extensions, searchable by name or field number. When
// parsing a protocol message that might have extensions, you must provide an
@@ -54,10 +54,10 @@
//
@interface GPBExtensionRegistry : NSObject<NSCopying>
-- (void)addExtension:(GPBExtensionField *)extension;
+- (void)addExtension:(GPBExtensionDescriptor *)extension;
- (void)addExtensions:(GPBExtensionRegistry *)registry;
-- (GPBExtensionField *)getExtension:(GPBDescriptor *)containingType
- fieldNumber:(NSInteger)fieldNumber;
+- (GPBExtensionDescriptor *)extensionForDescriptor:(GPBDescriptor *)descriptor
+ fieldNumber:(NSInteger)fieldNumber;
@end