diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-04 12:31:10 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2008-11-04 13:03:24 +0000 |
commit | 8007618837c0292b6ebc6a4f954c5049d4e99d8a (patch) | |
tree | e6f98660f0f426397f1218d9063a94906859913b /test/imagediff.c | |
parent | 282d7744275f623ce550638df953ef279d2209f0 (diff) |
[test] Fix compilation of imagediff.
imagediff broke once again.
Diffstat (limited to 'test/imagediff.c')
-rw-r--r-- | test/imagediff.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/imagediff.c b/test/imagediff.c index 424ca6dc..6ebbcfca 100644 --- a/test/imagediff.c +++ b/test/imagediff.c @@ -46,6 +46,23 @@ _xunlink (const char *pathname) } } +void +cairo_test_logv (const cairo_test_context_t *ctx, + const char *fmt, va_list va) +{ + vfprintf (stderr, fmt, va); +} + +void +cairo_test_log (const cairo_test_context_t *ctx, const char *fmt, ...) +{ + va_list va; + + va_start (va, fmt); + vfprintf (stderr, fmt, va); + va_end (va); +} + /* Flatten an ARGB surface by blending it over white. The resulting * surface, (still in ARGB32 format, but with only alpha==1.0 * everywhere) is returned in the same surface pointer. |