diff options
| author | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-04 00:41:11 +0100 |
|---|---|---|
| committer | Ulf Magnusson <ulfalizer@gmail.com> | 2017-11-04 00:46:41 +0100 |
| commit | 2c04862d0a2c05430df878b8fddbe01df139b37a (patch) | |
| tree | 639c5ba655a14882f00098790b7a08533efb02d7 /examples | |
| parent | c4d015a282ca4e99c670d2390605a7901c3f7e94 (diff) | |
Return False from set_value() for invalid values
Usability improvement discovered while putting together menuconfig
example. Would have to duplicate validity checking otherwise.
Also reject negative values for HEX symbols, just to be compatible with
the C implementation.
Keep TRI_TO_STR and STR_TO_TRI public. They're pretty handy even if
they're trivial.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
