commit | db5831c1c95debf40daef459c873f4d743bb06f2 | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@gnumonks.org> | Sun Jan 22 22:29:03 2017 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Tue Jan 24 17:09:26 2017 +0100 |
tree | 392d283c63cd2533e485bcae5b8ff7efd4052129 | |
parent | 78e84df4dc0bfc67decf54619f48a6d059c6b193 [diff] |
Add python script to generate 'struct value_string' from enum The idea is that you have an input file that defines an enum with symbolic names for numeric values. The script then generates a 'struct value_string' with corresponding strings.