From 0a51d62f060dbc1b036dfd45e52d4d90f0ce3eeb Mon Sep 17 00:00:00 2001 From: Bartosz Golaszewski Date: Mon, 22 May 2023 10:34:07 +0200 Subject: [PATCH] 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 --- bindings/cxx/gpiod.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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__ */ -- 2.30.2