Skip to content

Fix boolean type in SendMessage dbus method#326

Open
sgunes-wirepas wants to merge 1 commit into
masterfrom
fix/sdbus_bool
Open

Fix boolean type in SendMessage dbus method#326
sgunes-wirepas wants to merge 1 commit into
masterfrom
fix/sdbus_bool

Conversation

@sgunes-wirepas

Copy link
Copy Markdown
Contributor

sd-bus uses int C type for booleans in dbus messages (see sd_bus_message_read(3)).

Note: We also have a HANDLER_READ macro calling sd_bus_message_append on a dbus boolean type with a C boolean type.

sd_bus_message_append is variadic and the bool is supposed to be promoted to int, so we are fine with that one and can keep it untouched.

sd-bus uses int C type for booleans in dbus messages (see
sd_bus_message_read(3)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant