diff options
author | Dimitris Koutsogiorgas <dimitris@squareup.com> | 2016-06-24 17:40:29 -0700 |
---|---|---|
committer | Dimitris Koutsogiorgas <dimitris@squareup.com> | 2016-06-26 10:38:58 -0700 |
commit | 37ca94f8aed073b70e3d0fae3aab33eac35e3fec (patch) | |
tree | f7142f28f46a9c8d85ce7f42db72f8de4a78db13 /objectivec/GPBDescriptor.h | |
parent | 325cc42e98b24d8a3a62f3d72a6e1ffdd5ab8ef4 (diff) | |
download | protobuf-37ca94f8aed073b70e3d0fae3aab33eac35e3fec.tar.gz protobuf-37ca94f8aed073b70e3d0fae3aab33eac35e3fec.tar.bz2 protobuf-37ca94f8aed073b70e3d0fae3aab33eac35e3fec.zip |
Get value from text format name in GPBEnumDescriptor
Diffstat (limited to 'objectivec/GPBDescriptor.h')
-rw-r--r-- | objectivec/GPBDescriptor.h | 1 |
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 |