Re: [waffle] [PATCH 3/4] waffle: add waffle_string_to_enum()

2015-05-05 Thread Chad Versace
On Thu 23 Apr 2015, Emil Velikov wrote: On 22 April 2015 at 19:03, Frank Henigman fjhenig...@google.com wrote: From: Frank Henigman fjhenig...@gmail.com Add waffle_string_to_enum() which, given a string, returns the corresponding enum value. Since the main use is expected to be parsing

Re: [waffle] [PATCH 3/4] waffle: add waffle_string_to_enum()

2015-04-23 Thread Emil Velikov
On 22 April 2015 at 19:03, Frank Henigman fjhenig...@google.com wrote: From: Frank Henigman fjhenig...@gmail.com Add waffle_string_to_enum() which, given a string, returns the corresponding enum value. Since the main use is expected to be parsing command lines, the string case does not have