[cairo-commit] src/cairo.c src/cairo-gstate.c src/cairo.h
src/cairoint.h
Behdad Esfahbod
behdad at kemper.freedesktop.org
Fri Sep 8 12:12:15 PDT 2006
src/cairo-gstate.c | 2 +-
src/cairo.c | 2 +-
src/cairo.h | 2 +-
src/cairoint.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
New commits:
diff-tree 99360bd35d77e1a3f536e72f5729455580c980c2 (from c475d2ca69fa8fbdf1c50f1d5d1b6b558b8fd6cd)
Author: Behdad Esfahbod <behdad at behdad.org>
Date: Fri Sep 8 15:12:07 2006 -0400
cairo_show_glphs: Mark glyphs argument as const.
diff --git a/src/cairo-gstate.c b/src/cairo-gstate.c
index 2f9079b..832c520 100644
--- a/src/cairo-gstate.c
+++ b/src/cairo-gstate.c
@@ -1411,7 +1411,7 @@ _cairo_gstate_glyph_extents (cairo_gstat
cairo_status_t
_cairo_gstate_show_glyphs (cairo_gstate_t *gstate,
- cairo_glyph_t *glyphs,
+ const cairo_glyph_t *glyphs,
int num_glyphs)
{
cairo_status_t status;
diff --git a/src/cairo.c b/src/cairo.c
index 425a717..59844ff 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -2537,7 +2537,7 @@ cairo_show_text (cairo_t *cr, const char
}
void
-cairo_show_glyphs (cairo_t *cr, cairo_glyph_t *glyphs, int num_glyphs)
+cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs)
{
if (cr->status)
return;
diff --git a/src/cairo.h b/src/cairo.h
index bac27fd..e9ac35a 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -894,7 +894,7 @@ cairo_public void
cairo_show_text (cairo_t *cr, const char *utf8);
cairo_public void
-cairo_show_glyphs (cairo_t *cr, cairo_glyph_t *glyphs, int num_glyphs);
+cairo_show_glyphs (cairo_t *cr, const cairo_glyph_t *glyphs, int num_glyphs);
cairo_public cairo_font_face_t *
cairo_get_font_face (cairo_t *cr);
diff --git a/src/cairoint.h b/src/cairoint.h
index 255ac1e..0ee33dc 100644
--- a/src/cairoint.h
+++ b/src/cairoint.h
@@ -1378,7 +1378,7 @@ _cairo_gstate_glyph_extents (cairo_gstat
cairo_private cairo_status_t
_cairo_gstate_show_glyphs (cairo_gstate_t *gstate,
- cairo_glyph_t *glyphs,
+ const cairo_glyph_t *glyphs,
int num_glyphs);
cairo_private cairo_status_t
More information about the cairo-commit
mailing list