From: Bartosz Golaszewski Date: Mon, 22 May 2023 08:34:07 +0000 (+0200) Subject: bindings: cxx: shrink the doxygen conditional section X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0a51d62f060dbc1b036dfd45e52d4d90f0ce3eeb;p=qemu-gpiodev%2Flibgpiod.git bindings: cxx: shrink the doxygen conditional section The conditional section around the GPIOD_CXX_API symbol should end right after its definition, not wrap around the sub-headers inclusions. Signed-off-by: Bartosz Golaszewski --- diff --git a/bindings/cxx/gpiod.hpp b/bindings/cxx/gpiod.hpp index 470148f..b090af4 100644 --- a/bindings/cxx/gpiod.hpp +++ b/bindings/cxx/gpiod.hpp @@ -25,6 +25,10 @@ */ #define GPIOD_CXX_API __attribute__((visibility("default"))) +/** + * @endcond + */ + #define __LIBGPIOD_GPIOD_CXX_INSIDE__ #include "gpiodcxx/chip.hpp" #include "gpiodcxx/chip-info.hpp" @@ -41,8 +45,4 @@ #include "gpiodcxx/request-config.hpp" #undef __LIBGPIOD_GPIOD_CXX_INSIDE__ -/** - * @endcond - */ - #endif /* __LIBGPIOD_GPIOD_CXX_HPP__ */