libgpiod
Loading...
Searching...
No Matches
gpiod.hpp
Go to the documentation of this file.
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/* SPDX-FileCopyrightText: 2021-2022 Bartosz Golaszewski <brgl@bgdev.pl> */
3
8#ifndef __LIBGPIOD_GPIOD_CXX_HPP__
9#define __LIBGPIOD_GPIOD_CXX_HPP__
10
15/*
16 * We don't make this symbol private because it needs to be accessible by
17 * the declarations in exception.hpp in order to expose the symbols of classes
18 * inheriting from standard exceptions.
19 */
20#define GPIOD_CXX_API __attribute__((visibility("default")))
21
26#define __LIBGPIOD_GPIOD_CXX_INSIDE__
27#include "gpiodcxx/chip.hpp"
33#include "gpiodcxx/line.hpp"
40#undef __LIBGPIOD_GPIOD_CXX_INSIDE__
41
42#endif /* __LIBGPIOD_GPIOD_CXX_HPP__ */