Re: [systemd-devel] [PATCH 4/7] bus: rename sd_bus_get_property_{trivial, basic}

2013-11-07 Thread Lennart Poettering
On Thu, 07.11.13 13:49, Marc-Antoine Perennou (marc-anto...@perennou.com) wrote: This one is unfortunately not that easy. The reason this checks for trivial and not basic types is that strings (which are basic, but not trivial) are pointers in C. Usually we just return pointers into the actual

Re: [systemd-devel] [PATCH 4/7] bus: rename sd_bus_get_property_{trivial, basic}

2013-11-07 Thread Lennart Poettering
On Thu, 07.11.13 19:15, Lennart Poettering (lenn...@poettering.net) wrote: On Thu, 07.11.13 13:49, Marc-Antoine Perennou (marc-anto...@perennou.com) wrote: This one is unfortunately not that easy. The reason this checks for trivial and not basic types is that strings (which are basic, but

[systemd-devel] [PATCH 4/7] bus: rename sd_bus_get_property_{trivial, basic}

2013-11-06 Thread Marc-Antoine Perennou
--- src/analyze/analyze.c | 2 +- src/libsystemd-bus/bus-convenience.c | 4 ++-- src/libsystemd-bus/libsystemd-bus.sym | 2 +- src/systemd/sd-bus.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/analyze/analyze.c