Messages: merge macros with and without message code
authorPierre Le Marre <dev@wismill.eu>
Thu, 21 Sep 2023 18:06:27 +0000 (20:06 +0200)
committerWismill <dev@wismill.eu>
Sun, 24 Sep 2023 07:09:24 +0000 (09:09 +0200)
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`.


No differences found