changeset 50 | 2278dd806ad3 |
parent 25 | 1ce483608721 |
--- a/util.c Sun Aug 19 15:43:14 2012 +0300 +++ b/util.c Sun Aug 19 19:53:29 2012 +0300 @@ -20,6 +20,9 @@ #include "util.h" +/// Utility Lua Routines +/// To handle conversion of enums and flag fields to/from human-readable strings. + enum_value_t string2enum (const char *string, const string2enum_t *set) { while (set->string) {