mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-25 09:30:18 +01:00
[test-surfaces] Prefix public symbols with _cairo
This commit is contained in:
parent
8997b3a023
commit
cd78da36f6
7 changed files with 12 additions and 12 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue