|
From: Jeremy F. <je...@go...> - 2005-03-04 22:19:26
|
At the moment, its very hard to use the VALGRIND_* macros in a program,
because doing so makes the source dependent on having valgrind
installed, and people don't like to add unnecessary dependencies to
their packages.
I think we should explicitly encourage people to include the
valgrind/*.h headers in their own source trees, and go mad scattering
Valgrind macros in their source.
This means we need to make sure any changes to the valgrind macros are
forwards and backwards compatible. We've been pretty good about this;
it just means never recycling request numbers, and only changing the
functions of a given request in compatible ways. We're helped by the
fact that all requests have 4 arguments, which are 0 if they're not
otherwise used.
I'm doing a documentation update patch now (a review of all the
documentation, not just this issue).
J
|