{event,handle}: Clarify object lifetime requirements

It was unclear from the current docuemntation that Handles and Events do
not depend on the Chip or their input flags remaining alive during
the lifetime of the object. This makes that more clear.

Change-Id: I9831d7ffd095045a0a381b9863ce684bab22baae
Signed-off-by: William A. Kennington III <wak@google.com>
2 files changed
tree: aad67133c6a239c6d00479a8f66e865b4b9d5892
  1. example/
  2. src/
  3. test/
  4. .clang-format
  5. .gitignore
  6. .lcovrc
  7. bootstrap.sh
  8. configure.ac
  9. LICENSE
  10. MAINTAINERS
  11. Makefile.am
  12. README.md
README.md

gpioplus

gpioplus is a c++ wrapper around the linux gpio ioctl interface. It aims to provide c++ ergonomics to the usage.

Dependencies

Test cases require google{test,mock}, valgrind, and lcov.

Building

For a standard release build, you want something like:

./bootstrap.sh
./configure --disable-tests
make
make install

For a test / debug build, a typical configuration is

./bootstrap.sh
./configure --enable-tests --enable-coverage --enable-valgrind
make
make check
make check-valgrind
make check-code-coverage