diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-05-09 17:14:02 +0200 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-05-09 23:21:14 +0200 |
commit | 1246ff8aec9054d1d550dd1401b67fac4035cce0 (patch) | |
tree | cb8f302e776f18c7c42d8168b662684f4661af8f /test/cairo-test.h | |
parent | dc33760fcb67c41358bb073d63810b5a86099f43 (diff) | |
download | cairo-1246ff8aec9054d1d550dd1401b67fac4035cce0.tar.gz |
[cairo-test] Implement cairo_test_log_path() to dump a cairo_path_t to logs
Dumping paths is so hard in C. Shouldn't be. At least not when debugging...
Diffstat (limited to 'test/cairo-test.h')
-rw-r--r-- | test/cairo-test.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/cairo-test.h b/test/cairo-test.h index 6b6b373be..381fd4c8d 100644 --- a/test/cairo-test.h +++ b/test/cairo-test.h @@ -120,6 +120,9 @@ cairo_test_fini (void); void cairo_test_log (const char *fmt, ...) CAIRO_BOILERPLATE_PRINTF_FORMAT(1, 2); +void +cairo_test_log_path (const cairo_path_t *path); + /* Helper functions that take care of finding source images even when * building in a non-srcdir manner, (ie. the tests will be run in a * directory that is different from the one where the source image |