mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 21:38:03 +02:00
cairo_show_glphs: Mark glyphs argument as const.
This commit is contained in:
parent
c475d2ca69
commit
99360bd35d
4 changed files with 4 additions and 4 deletions
|
|
@ -1411,7 +1411,7 @@ _cairo_gstate_glyph_extents (cairo_gstate_t *gstate,
|
|||
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -2537,7 +2537,7 @@ cairo_show_text (cairo_t *cr, const char *utf8)
|
|||
}
|
||||
|
||||
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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -1378,7 +1378,7 @@ _cairo_gstate_glyph_extents (cairo_gstate_t *gstate,
|
|||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue