Hey Christian,

We should indeed introduce some sanitation helpers to deal with these
in the general case. API suggestion:

type_t parse_int(const char *str, type_t min, type_t max, type_t
fallback_if_invalid);

What would you think of that?

Regards,
Jason
_______________________________________________
CGit mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to