summaryrefslogtreecommitdiff
path: root/test/cairo-test.h
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2018-05-29 17:54:02 +0200
committerTim-Philipp Müller <tim@centricular.com>2020-07-18 19:47:17 +0100
commit4645ecf3f89de9e25fc83d7c0fdb89188de7a2a3 (patch)
treefc8e21f0bf1aae66ed836b04d7a1325232430953 /test/cairo-test.h
parentaee96d175d8349945a6d1948a56abd4b4ec6ad84 (diff)
downloadcairo-4645ecf3f89de9e25fc83d7c0fdb89188de7a2a3.tar.gz
record tests: fix when builddir != srcdir
When builddir != srcdir, cairo_test_create_pattern_from_png needs a non-NULL ctx to work with.
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r--test/cairo-test.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h
index 7e9605f61..767c1ddf5 100644
--- a/test/cairo-test.h
+++ b/test/cairo-test.h
@@ -317,6 +317,9 @@ cairo_test_get_reference_image (cairo_test_context_t *ctx,
cairo_bool_t
cairo_test_mkdir (const char *path);
+cairo_t *
+cairo_test_create (cairo_surface_t *surface, cairo_test_context_t *ctx);
+
CAIRO_END_DECLS
#endif