mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-02 08:42:52 +00:00
The do statement ensures the macros to generate just one expression that is compatible with any programming construct. The concrete bug was if (cond) PDBG(...); else ... which was expanded to if (cond) if (DO_PDBG) Genode::printf(...); else ... This is obviously wrong as the *else* branch is then connected to the second *if*.
This directory contains include files of interfaces that are exported by components to be used by other components. Each subdirectory corresponds to the component exporting the interface.