Prefix "cairo_*_test_*" symbols with underscore.

This commit is contained in:
Behdad Esfahbod 2006-06-29 15:22:44 +02:00
parent f26da6c464
commit 195b1142e7
13 changed files with 24 additions and 24 deletions

View file

@ -2301,7 +2301,7 @@ _pattern_supported (cairo_pattern_t *pattern)
static cairo_bool_t cairo_pdf_force_fallbacks = FALSE;
/**
* cairo_pdf_test_force_fallbacks
* _cairo_pdf_test_force_fallbacks
*
* Force the PDF surface backend to use image fallbacks for every
* operation.
@ -2313,7 +2313,7 @@ static cairo_bool_t cairo_pdf_force_fallbacks = FALSE;
* </note>
**/
void
cairo_pdf_test_force_fallbacks (void)
_cairo_pdf_test_force_fallbacks (void)
{
cairo_pdf_force_fallbacks = TRUE;
}

View file

@ -45,8 +45,8 @@
CAIRO_BEGIN_DECLS
void
cairo_pdf_test_force_fallbacks (void);
cairo_public void
_cairo_pdf_test_force_fallbacks (void);
CAIRO_END_DECLS

View file

@ -1242,7 +1242,7 @@ pattern_supported (const cairo_pattern_t *pattern)
static cairo_bool_t cairo_ps_force_fallbacks = FALSE;
/**
* cairo_ps_test_force_fallbacks
* _cairo_ps_test_force_fallbacks
*
* Force the PS surface backend to use image fallbacks for every
* operation.
@ -1254,7 +1254,7 @@ static cairo_bool_t cairo_ps_force_fallbacks = FALSE;
* </note>
**/
void
cairo_ps_test_force_fallbacks (void)
_cairo_ps_test_force_fallbacks (void)
{
cairo_ps_force_fallbacks = TRUE;
}

View file

@ -45,8 +45,8 @@
CAIRO_BEGIN_DECLS
void
cairo_ps_test_force_fallbacks (void);
cairo_public void
_cairo_ps_test_force_fallbacks (void);
CAIRO_END_DECLS

View file

@ -41,8 +41,8 @@
CAIRO_BEGIN_DECLS
void
cairo_scaled_font_test_set_max_glyphs_cached_per_font (int max);
cairo_public void
_cairo_scaled_font_test_set_max_glyphs_cached_per_font (int max);
CAIRO_END_DECLS

View file

@ -323,7 +323,7 @@ static int max_glyphs_cached_per_font = 256;
/* For internal testing purposes only. Not part of the supported API. */
void
cairo_scaled_font_test_set_max_glyphs_cached_per_font (int max)
_cairo_scaled_font_test_set_max_glyphs_cached_per_font (int max)
{
max_glyphs_cached_per_font = max;
}

View file

@ -639,7 +639,7 @@ _cairo_svg_document_emit_font_subsets (cairo_svg_document_t *document)
static cairo_bool_t cairo_svg_force_fallbacks = FALSE;
/**
* cairo_svg_test_force_fallbacks
* _cairo_svg_test_force_fallbacks
*
* Force the SVG surface backend to use image fallbacks for every
* operation.
@ -651,7 +651,7 @@ static cairo_bool_t cairo_svg_force_fallbacks = FALSE;
* </note>
**/
void
cairo_svg_test_force_fallbacks (void)
_cairo_svg_test_force_fallbacks (void)
{
cairo_svg_force_fallbacks = TRUE;
}

View file

@ -45,8 +45,8 @@
CAIRO_BEGIN_DECLS
void
cairo_svg_test_force_fallbacks (void);
cairo_public void
_cairo_svg_test_force_fallbacks (void);
CAIRO_END_DECLS

View file

@ -153,7 +153,7 @@ struct _cairo_xlib_surface {
static cairo_bool_t cairo_xlib_render_disabled = FALSE;
/**
* cairo_xlib_test_disable_render:
* _cairo_xlib_test_disable_render:
*
* Disables the use of the RENDER extension.
*
@ -164,7 +164,7 @@ static cairo_bool_t cairo_xlib_render_disabled = FALSE;
* </note>
**/
void
cairo_xlib_test_disable_render (void)
_cairo_xlib_test_disable_render (void)
{
cairo_xlib_render_disabled = TRUE;
}

View file

@ -45,8 +45,8 @@
CAIRO_BEGIN_DECLS
void
cairo_xlib_test_disable_render (void);
cairo_public void
_cairo_xlib_test_disable_render (void);
CAIRO_END_DECLS

View file

@ -103,17 +103,17 @@ main (void)
case PDF:
surface = cairo_pdf_surface_create (backend_filename[backend],
SIZE, SIZE);
cairo_pdf_test_force_fallbacks ();
_cairo_pdf_test_force_fallbacks ();
break;
case PS:
surface = cairo_ps_surface_create (backend_filename[backend],
SIZE, SIZE);
cairo_ps_test_force_fallbacks ();
_cairo_ps_test_force_fallbacks ();
break;
case SVG:
surface = cairo_svg_surface_create (backend_filename[backend],
SIZE, SIZE * num_pages);
cairo_svg_test_force_fallbacks ();
_cairo_svg_test_force_fallbacks ();
break;
}

View file

@ -66,7 +66,7 @@ draw (cairo_t *cr, int width, int height)
cairo_paint (cr);
cairo_restore (cr);
cairo_scaled_font_test_set_max_glyphs_cached_per_font (1);
_cairo_scaled_font_test_set_max_glyphs_cached_per_font (1);
cairo_select_font_face (cr, "Bitstream Vera Sans",
CAIRO_FONT_SLANT_NORMAL,

View file

@ -260,7 +260,7 @@ main (void)
1, use_pixmap, set_size, offscreen))
result = 1;
cairo_xlib_test_disable_render ();
_cairo_xlib_test_disable_render ();
for (set_size = 0; set_size <= 1; set_size++)
for (use_pixmap = 0; use_pixmap <= 1; use_pixmap++)