kc3-lang/libxkbcommon/src/utils-numbers.h

Branch :


Log

Author Commit Date CI Message
102f4ba1 2025-04-06 19:38:53 Fix integer conversion warnings
d2f7b9cd 2025-04-04 17:29:35 rules: Do not use strto* parsers
d5a91fa9 2025-04-04 16:38:16 xkbcomp: Use custom parsers instead of strtol* The use of `strtol*` functions was already restricted due to its slowness and its capacity to parse other stuff than digits (e.g. signs and spaces). There is also another *big* limitation: it requires a NULL-terminated string. This is incompatible with our functions that work on buffers, because we cannot guarantee this. This may lead to a memory violation if the last token is a number. We now roll out our own parsers, which are more efficients and compatible with buffers.