summaryrefslogtreecommitdiff
path: root/dbus/dbus-valgrind-internal.h
Commit message (Collapse)AuthorAgeFilesLines
* Turn the non-valgrind code path into inline functions to avoid compiler warningsSimon McVittie2012-02-211-3/+23
| | | | | | | | | | Recent gcc will warn if you have a statement that's just a macro expanding to (0), but not if you have an inline stub function that always returns 0, so let's do the latter. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37286 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk>
* Add support for inserting (a subset of) Valgrind client requestsSimon McVittie2012-02-131-0/+47
If valgrind support is disabled, we define stub versions of the Valgrind client requests I plan to use, so the actual code doesn't need #ifdef hell. [With unnecessary AC_SUBST removed as per Lennart's review -smcv] Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37286 Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Reviewed-by: Lennart Poettering <lennart@poettering.net>