summaryrefslogtreecommitdiff
path: root/test/imagediff.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-11-04 12:31:10 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2008-11-04 13:03:24 +0000
commit8007618837c0292b6ebc6a4f954c5049d4e99d8a (patch)
treee6f98660f0f426397f1218d9063a94906859913b /test/imagediff.c
parent282d7744275f623ce550638df953ef279d2209f0 (diff)
downloadcairo-8007618837c0292b6ebc6a4f954c5049d4e99d8a.tar.gz
[test] Fix compilation of imagediff.
imagediff broke once again.
Diffstat (limited to 'test/imagediff.c')
-rw-r--r--test/imagediff.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/imagediff.c b/test/imagediff.c
index 424ca6dcd..6ebbcfca7 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.