kc3-lang/libxkbcommon/src/utils-checked-arithmetic.h

Branch :


Log

Author Commit Date CI Message
dc63e5f8 2025-07-07 12:28:24 Ensure config.h is always included first While `config.h` may not be necessary in every file, it ensures consistency and makes code refactoring safer.
e9394b9f 2025-05-13 10:47:22 utils: Use explicit cast to prevent warnings
fb9fec18 2025-05-10 10:18:38 xkbcomp: Checked arithmetic Use a polyfill for C23 checked arithmetic. This is a bit paranoid, as we expect the user to use only 32 bit integers, so the signed 64 bit integer we use to store the result should be more than enough. Use jtckdint v1.0: - repository: https://github.com/jart/jtckdint - commit: 339450d13d8636f05dcb71ba36efddb226db481e - removed all C++-specific code