MCPcopy Create free account
hub / github.com/Entware/Entware / menu_validate_number

Function menu_validate_number

scripts/config/menu.c:215–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213}
214
215static int menu_validate_number(struct symbol *sym, struct symbol *sym2)
216{
217 return sym2->type == S_INT || sym2->type == S_HEX ||
218 (sym2->type == S_UNKNOWN && sym_string_valid(sym, sym2->name));
219}
220
221static void sym_check_prop(struct symbol *sym)
222{

Callers 1

sym_check_propFunction · 0.85

Calls 1

sym_string_validFunction · 0.85

Tested by

no test coverage detected