bindings: cxx: shrink the doxygen conditional section
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 22 May 2023 08:34:07 +0000 (10:34 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 22 May 2023 08:34:07 +0000 (10:34 +0200)
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 <bartosz.golaszewski@linaro.org>
bindings/cxx/gpiod.hpp

index 470148f9342c09f36621811879a96dc54505e866..b090af4685b050e4f1bde3e7741d9e19072d445c 100644 (file)
  */
 #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__ */