forked from Kistler-Group/sdbus-cpp
feat: add macro to teach sdbus-c++ about user-defined structs (#440)
This introduces SDBUSCPP_REGISTER_STRUCT macro that helps clients conveniently, in one line, teach sdbus-c++ to recognize and accept their custom C++ struct types wherever D-Bus structs are expected in a D-Bus API. The macro saves some boilerplate that would otherwise be needed on client side for every registered struct.
This commit is contained in:
@@ -291,3 +291,7 @@ v2.0.0
|
||||
- Add `SDBUSCPP_` prefix to CMake configuration variables to avoid conflicts with downstream projects
|
||||
- Require systemd of at least v238
|
||||
- Many other fixes and updates in code, tests, build system, CI, and documentation
|
||||
|
||||
v2.x.y
|
||||
- Add SDBUSCPP_REGISTER_STRUCT macro to conveniently teach sdbus-c++ about user-defined structs
|
||||
- Fix partially renamed BUILD_DOXYGEN_DOC CMake option
|
||||
|
||||
Reference in New Issue
Block a user