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>
*/
#define GPIOD_CXX_API __attribute__((visibility("default")))
+/**
+ * @endcond
+ */
+
#define __LIBGPIOD_GPIOD_CXX_INSIDE__
#include "gpiodcxx/chip.hpp"
#include "gpiodcxx/chip-info.hpp"
#include "gpiodcxx/request-config.hpp"
#undef __LIBGPIOD_GPIOD_CXX_INSIDE__
-/**
- * @endcond
- */
-
#endif /* __LIBGPIOD_GPIOD_CXX_HPP__ */