[cairo-commit] src/cairo-pdf-surface.c src/cairo-pdf-test.h src/cairo-ps-surface.c src/cairo-ps-test.h src/cairo-scaled-font.c src/cairo-scaled-font-test.h src/cairo-svg-surface.c src/cairo-svg-test.h src/cairo-xlib-surface.c src/cairo-xlib-test.h test/fallback-resolution.c test/glyph-cache-pressure.c test/xlib-surface.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Jun 29 06:22:30 PDT 2006


 src/cairo-pdf-surface.c      |    4 ++--
 src/cairo-pdf-test.h         |    4 ++--
 src/cairo-ps-surface.c       |    4 ++--
 src/cairo-ps-test.h          |    4 ++--
 src/cairo-scaled-font-test.h |    4 ++--
 src/cairo-scaled-font.c      |    2 +-
 src/cairo-svg-surface.c      |    4 ++--
 src/cairo-svg-test.h         |    4 ++--
 src/cairo-xlib-surface.c     |    4 ++--
 src/cairo-xlib-test.h        |    4 ++--
 test/fallback-resolution.c   |    6 +++---
 test/glyph-cache-pressure.c  |    2 +-
 test/xlib-surface.c          |    2 +-
 13 files changed, 24 insertions(+), 24 deletions(-)

New commits:
diff-tree 195b1142e7a1652e0f65cfd822bba7ea8b6ba505 (from f26da6c464c60ab2ed87175ab0a9b81e3cf363fb)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Jun 29 15:22:44 2006 +0200

    Prefix "cairo_*_test_*" symbols with underscore.

diff --git a/src/cairo-pdf-surface.c b/src/cairo-pdf-surface.c
index 039e362..8e1192f 100644
--- a/src/cairo-pdf-surface.c
+++ b/src/cairo-pdf-surface.c
@@ -2301,7 +2301,7 @@ _pattern_supported (cairo_pattern_t *pat
 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_fall
  * </note>
  **/
 void
-cairo_pdf_test_force_fallbacks (void)
+_cairo_pdf_test_force_fallbacks (void)
 {
     cairo_pdf_force_fallbacks = TRUE;
 }
diff --git a/src/cairo-pdf-test.h b/src/cairo-pdf-test.h
index 6d0c93c..3d14c9d 100644
--- a/src/cairo-pdf-test.h
+++ b/src/cairo-pdf-test.h
@@ -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
 
diff --git a/src/cairo-ps-surface.c b/src/cairo-ps-surface.c
index b45e6f9..9446610 100644
--- a/src/cairo-ps-surface.c
+++ b/src/cairo-ps-surface.c
@@ -1242,7 +1242,7 @@ pattern_supported (const cairo_pattern_t
 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_fallb
  * </note>
  **/
 void
-cairo_ps_test_force_fallbacks (void)
+_cairo_ps_test_force_fallbacks (void)
 {
     cairo_ps_force_fallbacks = TRUE;
 }
diff --git a/src/cairo-ps-test.h b/src/cairo-ps-test.h
index 724ca46..5d49ece 100644
--- a/src/cairo-ps-test.h
+++ b/src/cairo-ps-test.h
@@ -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
 
diff --git a/src/cairo-scaled-font-test.h b/src/cairo-scaled-font-test.h
index 20723af..0304078 100644
--- a/src/cairo-scaled-font-test.h
+++ b/src/cairo-scaled-font-test.h
@@ -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
 
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c
index 30da355..0defd32 100644
--- a/src/cairo-scaled-font.c
+++ b/src/cairo-scaled-font.c
@@ -323,7 +323,7 @@ static int max_glyphs_cached_per_font = 
 
 /* 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;
 }
diff --git a/src/cairo-svg-surface.c b/src/cairo-svg-surface.c
index 8c5717e..ff47236 100644
--- a/src/cairo-svg-surface.c
+++ b/src/cairo-svg-surface.c
@@ -639,7 +639,7 @@ _cairo_svg_document_emit_font_subsets (c
 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_fall
  * </note>
  **/
 void
-cairo_svg_test_force_fallbacks (void)
+_cairo_svg_test_force_fallbacks (void)
 {
     cairo_svg_force_fallbacks = TRUE;
 }
diff --git a/src/cairo-svg-test.h b/src/cairo-svg-test.h
index c8ed063..396d459 100644
--- a/src/cairo-svg-test.h
+++ b/src/cairo-svg-test.h
@@ -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
 
diff --git a/src/cairo-xlib-surface.c b/src/cairo-xlib-surface.c
index 817e37b..6ce7557 100644
--- a/src/cairo-xlib-surface.c
+++ b/src/cairo-xlib-surface.c
@@ -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_di
  * </note>
  **/
 void
-cairo_xlib_test_disable_render (void)
+_cairo_xlib_test_disable_render (void)
 {
     cairo_xlib_render_disabled = TRUE;
 }
diff --git a/src/cairo-xlib-test.h b/src/cairo-xlib-test.h
index 7ecb3ce..ec167c1 100644
--- a/src/cairo-xlib-test.h
+++ b/src/cairo-xlib-test.h
@@ -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
 
diff --git a/test/fallback-resolution.c b/test/fallback-resolution.c
index b643689..37c37f5 100644
--- a/test/fallback-resolution.c
+++ b/test/fallback-resolution.c
@@ -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;
 	}
 
diff --git a/test/glyph-cache-pressure.c b/test/glyph-cache-pressure.c
index 7f4ea2c..bcc5250 100644
--- a/test/glyph-cache-pressure.c
+++ b/test/glyph-cache-pressure.c
@@ -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,
diff --git a/test/xlib-surface.c b/test/xlib-surface.c
index f12e490..559c19a 100644
--- a/test/xlib-surface.c
+++ b/test/xlib-surface.c
@@ -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++)


More information about the cairo-commit mailing list