summaryrefslogtreecommitdiff
path: root/boilerplate/cairo-boilerplate-pdf.c
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2014-11-20 12:19:47 -0800
committerBryce Harrington <bryce@osg.samsung.com>2014-11-20 12:22:06 -0800
commit2c5af590ddbb08e0a46b7e37c5f0230b1805cd37 (patch)
tree8a44d28184791a443ecb10d980fcb71cb2c779ac /boilerplate/cairo-boilerplate-pdf.c
parent7edc5a8844b96862b866901568eb83fa56f4755b (diff)
downloadcairo-2c5af590ddbb08e0a46b7e37c5f0230b1805cd37.tar.gz
Refactor ARRAY_LENGTH macro definitions in test code
Diffstat (limited to 'boilerplate/cairo-boilerplate-pdf.c')
-rw-r--r--boilerplate/cairo-boilerplate-pdf.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/boilerplate/cairo-boilerplate-pdf.c b/boilerplate/cairo-boilerplate-pdf.c
index d76d13951..177cdf174 100644
--- a/boilerplate/cairo-boilerplate-pdf.c
+++ b/boilerplate/cairo-boilerplate-pdf.c
@@ -54,8 +54,6 @@ typedef struct _pdf_target_closure
cairo_surface_t *target;
} pdf_target_closure_t;
-#define ARRAY_LENGTH(__array) ((int) (sizeof (__array) / sizeof (__array[0])))
-
static cairo_surface_t *
_cairo_boilerplate_pdf_create_surface (const char *name,
cairo_content_t content,