From 37ca94f8aed073b70e3d0fae3aab33eac35e3fec Mon Sep 17 00:00:00 2001 From: Dimitris Koutsogiorgas Date: Fri, 24 Jun 2016 17:40:29 -0700 Subject: Get value from text format name in GPBEnumDescriptor --- objectivec/GPBDescriptor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'objectivec/GPBDescriptor.h') diff --git a/objectivec/GPBDescriptor.h b/objectivec/GPBDescriptor.h index a6eff0fb..0c4875c6 100644 --- a/objectivec/GPBDescriptor.h +++ b/objectivec/GPBDescriptor.h @@ -123,6 +123,7 @@ typedef NS_ENUM(uint8_t, GPBFieldType) { - (BOOL)getValue:(nullable int32_t *)outValue forEnumName:(NSString *)name; - (nullable NSString *)textFormatNameForValue:(int32_t)number; +- (BOOL)getValue:(nullable int32_t *)outValue forEnumTextFormatName:(NSString *)textFormatName; @end -- cgit v1.2.3