diff options
author | Pierre Le Marre <dev@wismill.eu> | 2023-09-21 20:06:27 +0200 |
---|---|---|
committer | Wismill <dev@wismill.eu> | 2023-09-24 09:09:24 +0200 |
commit | c0065c95a479c7111417a6547d26594a5e31378b (patch) | |
tree | 9fd55ccc2e0db97338f8d5f96d0b7432e73d5150 /PACKAGING | |
parent | a83d745b62ea8ec89e939b00bb3754ad54280942 (diff) | |
download | libxkbcommon-c0065c95a479c7111417a6547d26594a5e31378b.tar.gz libxkbcommon-c0065c95a479c7111417a6547d26594a5e31378b.tar.bz2 libxkbcommon-c0065c95a479c7111417a6547d26594a5e31378b.zip |
Messages: merge macros with and without message code
Previously we had two types of macros for logging: with and without
message code. They were intended to be merged afterwards.
The idea is to use a special code – `XKB_LOG_MESSAGE_NO_ID = 0` – that
should *not* be displayed. But we would like to avoid checking this
special code at run time. This is achieved using macro tricks; they
are detailed in the code (see: `PREPEND_MESSAGE_ID`).
Now it is also easier to spot the remaining undocumented log entries:
just search `XKB_LOG_MESSAGE_NO_ID`.
Diffstat (limited to 'PACKAGING')
0 files changed, 0 insertions, 0 deletions