aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/GPBDescriptor.h
diff options
context:
space:
mode:
authorGravatar Dimitris Koutsogiorgas <dimitris@squareup.com>2016-06-24 17:40:29 -0700
committerGravatar Dimitris Koutsogiorgas <dimitris@squareup.com>2016-06-26 10:38:58 -0700
commit37ca94f8aed073b70e3d0fae3aab33eac35e3fec (patch)
treef7142f28f46a9c8d85ce7f42db72f8de4a78db13 /objectivec/GPBDescriptor.h
parent325cc42e98b24d8a3a62f3d72a6e1ffdd5ab8ef4 (diff)
Get value from text format name in GPBEnumDescriptor
Diffstat (limited to 'objectivec/GPBDescriptor.h')
-rw-r--r--objectivec/GPBDescriptor.h1
1 files changed, 1 insertions, 0 deletions
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