commit | 37ca94f8aed073b70e3d0fae3aab33eac35e3fec | [log] [tgz] |
---|---|---|
author | Dimitris Koutsogiorgas <dimitris@squareup.com> | Fri Jun 24 17:40:29 2016 -0700 |
committer | Dimitris Koutsogiorgas <dimitris@squareup.com> | Sun Jun 26 10:38:58 2016 -0700 |
tree | f7142f28f46a9c8d85ce7f42db72f8de4a78db13 | |
parent | 325cc42e98b24d8a3a62f3d72a6e1ffdd5ab8ef4 [diff] [blame] |
Get value from text format name in GPBEnumDescriptor
diff --git a/objectivec/GPBDescriptor.h b/objectivec/GPBDescriptor.h index a6eff0f..0c4875c 100644 --- a/objectivec/GPBDescriptor.h +++ b/objectivec/GPBDescriptor.h
@@ -123,6 +123,7 @@ - (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