source/*: Implement heap based userdata

This makes no immediate change to the external interface, but it will
enable us to do things like making copies of the event sources and
support for floating event source types.

Change-Id: Ida73e773eb0869f6f6f21c1e03c61e9ce2b5625c
Signed-off-by: William A. Kennington III <wak@google.com>
21 files changed
tree: 51ae8c2279b7bab42c76cd87540abcc3941f96a7
  1. example/
  2. src/
  3. subprojects/
  4. test/
  5. .clang-format
  6. .clang-ignore
  7. .clang-tidy
  8. .gitignore
  9. .lcovrc
  10. LICENSE
  11. MAINTAINERS
  12. meson.build
  13. meson_options.txt
  14. README.md
README.md

sdeventplus

sdeventplus is a c++ wrapper around the systemd sd_event apis meant to provide c++ ergonomics to their usage.

Dependencies

The sdeventplus library requires a libsystemd development package on the system for sd-event.

Building

For a standard release build, you want something like:

meson setup -Dexamples=false -Dtests=disabled builddir
ninja -C builddir
ninja -C builddir install

For a test / debug build, a typical configuration is

meson setup -Dtests=enabled builddir
meson test -C builddir