aboutsummaryrefslogtreecommitdiff
path: root/objectivec/GPBDescriptor.h
diff options
context:
space:
mode:
authorThomas Van Lenten <thomasvl@google.com>2016-06-26 21:09:40 -0400
committerGitHub <noreply@github.com>2016-06-26 21:09:40 -0400
commit2bcd43afe4b649c95d932daf31b0b83948f7cf7c (patch)
treee848450d087512ec38d067d5772327b3e7883b68 /objectivec/GPBDescriptor.h
parent0ab78e19eb56fb992105eba034f3b63fd67b4ae5 (diff)
parent37ca94f8aed073b70e3d0fae3aab33eac35e3fec (diff)
downloadprotobuf-2bcd43afe4b649c95d932daf31b0b83948f7cf7c.tar.gz
protobuf-2bcd43afe4b649c95d932daf31b0b83948f7cf7c.tar.bz2
protobuf-2bcd43afe4b649c95d932daf31b0b83948f7cf7c.zip
Merge pull request #1714 from dnkoutso/master
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 c0f644c7..fe4ff390 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