From cd78da36f663b99c67d50dcd692cd7b67677c82a Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 8 Mar 2007 18:08:37 -0500 Subject: [PATCH] [test-surfaces] Prefix public symbols with _cairo --- boilerplate/cairo-boilerplate.c | 6 +++--- src/test-fallback-surface.c | 8 ++++---- src/test-fallback-surface.h | 2 +- src/test-meta-surface.c | 2 +- src/test-meta-surface.h | 2 +- src/test-paginated-surface.c | 2 +- src/test-paginated-surface.h | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/boilerplate/cairo-boilerplate.c b/boilerplate/cairo-boilerplate.c index 561e6df0d..f726d426d 100644 --- a/boilerplate/cairo-boilerplate.c +++ b/boilerplate/cairo-boilerplate.c @@ -134,7 +134,7 @@ create_test_fallback_surface (const char *name, void **closure) { *closure = NULL; - return _test_fallback_surface_create (content, width, height); + return _cairo_test_fallback_surface_create (content, width, height); } static cairo_surface_t * @@ -146,7 +146,7 @@ create_test_meta_surface (const char *name, void **closure) { *closure = NULL; - return _test_meta_surface_create (content, width, height); + return _cairo_test_meta_surface_create (content, width, height); } static const cairo_user_data_key_t test_paginated_closure_key; @@ -179,7 +179,7 @@ create_test_paginated_surface (const char *name, tpc->data = xcalloc (tpc->stride * height, 1); - surface = _test_paginated_surface_create_for_data (tpc->data, + surface = _cairo_test_paginated_surface_create_for_data (tpc->data, tpc->content, tpc->width, tpc->height, diff --git a/src/test-fallback-surface.c b/src/test-fallback-surface.c index 479c8ef62..21ee19077 100644 --- a/src/test-fallback-surface.c +++ b/src/test-fallback-surface.c @@ -64,10 +64,10 @@ typedef struct _test_fallback_surface { const cairo_private cairo_surface_backend_t test_fallback_surface_backend; -slim_hidden_proto (_test_fallback_surface_create); +slim_hidden_proto (_cairo_test_fallback_surface_create); cairo_surface_t * -_test_fallback_surface_create (cairo_content_t content, +_cairo_test_fallback_surface_create (cairo_content_t content, int width, int height) { @@ -91,7 +91,7 @@ _test_fallback_surface_create (cairo_content_t content, return &surface->base; } -slim_hidden_def (_test_fallback_surface_create); +slim_hidden_def (_cairo_test_fallback_surface_create); static cairo_surface_t * _test_fallback_surface_create_similar (void *abstract_surface, @@ -101,7 +101,7 @@ _test_fallback_surface_create_similar (void *abstract_surface, { assert (CAIRO_CONTENT_VALID (content)); - return _test_fallback_surface_create (content, + return _cairo_test_fallback_surface_create (content, width, height); } diff --git a/src/test-fallback-surface.h b/src/test-fallback-surface.h index 25603072e..744b303a1 100644 --- a/src/test-fallback-surface.h +++ b/src/test-fallback-surface.h @@ -41,7 +41,7 @@ CAIRO_BEGIN_DECLS cairo_surface_t * -_test_fallback_surface_create (cairo_content_t content, +_cairo_test_fallback_surface_create (cairo_content_t content, int width, int height); diff --git a/src/test-meta-surface.c b/src/test-meta-surface.c index 5fea76610..6c5877971 100644 --- a/src/test-meta-surface.c +++ b/src/test-meta-surface.c @@ -68,7 +68,7 @@ static cairo_int_status_t _test_meta_surface_show_page (void *abstract_surface); cairo_surface_t * -_test_meta_surface_create (cairo_content_t content, +_cairo_test_meta_surface_create (cairo_content_t content, int width, int height) { diff --git a/src/test-meta-surface.h b/src/test-meta-surface.h index 4022ab7ff..c036bb9c8 100644 --- a/src/test-meta-surface.h +++ b/src/test-meta-surface.h @@ -41,7 +41,7 @@ CAIRO_BEGIN_DECLS cairo_surface_t * -_test_meta_surface_create (cairo_content_t content, +_cairo_test_meta_surface_create (cairo_content_t content, int width, int height); diff --git a/src/test-paginated-surface.c b/src/test-paginated-surface.c index 1950052c9..d82749f69 100644 --- a/src/test-paginated-surface.c +++ b/src/test-paginated-surface.c @@ -61,7 +61,7 @@ static const cairo_surface_backend_t test_paginated_surface_backend; static const cairo_paginated_surface_backend_t test_paginated_surface_paginated_backend; cairo_surface_t * -_test_paginated_surface_create_for_data (unsigned char *data, +_cairo_test_paginated_surface_create_for_data (unsigned char *data, cairo_content_t content, int width, int height, diff --git a/src/test-paginated-surface.h b/src/test-paginated-surface.h index df5500290..4879cfcd1 100644 --- a/src/test-paginated-surface.h +++ b/src/test-paginated-surface.h @@ -41,7 +41,7 @@ CAIRO_BEGIN_DECLS cairo_surface_t * -_test_paginated_surface_create_for_data (unsigned char *data, +_cairo_test_paginated_surface_create_for_data (unsigned char *data, cairo_content_t content, int width, int height,