summaryrefslogtreecommitdiff
path: root/pango/pango-ot-buffer.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-05-14 04:24:47 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-05-14 04:24:47 +0000
commit3edbdfc9aaa778f76b6dc97f6ee55d389446e598 (patch)
treebd0a1daaae17dfe0dbf632c6a388e1424af2cecf /pango/pango-ot-buffer.c
parentd12fc92eeb6f86502e3bd7658bfbe7e33c6c9e3a (diff)
downloadpango-3edbdfc9aaa778f76b6dc97f6ee55d389446e598.tar.gz
Mark some arguments const.
2007-05-14 Behdad Esfahbod <behdad@gnome.org> * pango/pango-ot-buffer.c (pango_ot_buffer_get_glyphs), (pango_ot_buffer_output): * pango/pango-ot-ruleset.c (pango_ot_ruleset_substitute), (pango_ot_ruleset_position): * pango/pango-ot.h: Mark some arguments const. svn path=/trunk/; revision=2288
Diffstat (limited to 'pango/pango-ot-buffer.c')
-rw-r--r--pango/pango-ot-buffer.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/pango/pango-ot-buffer.c b/pango/pango-ot-buffer.c
index ca1ae99d..8804ebd8 100644
--- a/pango/pango-ot-buffer.c
+++ b/pango/pango-ot-buffer.c
@@ -163,9 +163,9 @@ pango_ot_buffer_set_zero_width_marks (PangoOTBuffer *buffer,
* Since: 1.4
**/
void
-pango_ot_buffer_get_glyphs (PangoOTBuffer *buffer,
- PangoOTGlyph **glyphs,
- int *n_glyphs)
+pango_ot_buffer_get_glyphs (const PangoOTBuffer *buffer,
+ PangoOTGlyph **glyphs,
+ int *n_glyphs)
{
if (glyphs)
*glyphs = (PangoOTGlyph *)buffer->buffer->in_string;
@@ -294,8 +294,8 @@ apply_gpos_rtl (PangoGlyphString *glyphs,
* Since: 1.4
**/
void
-pango_ot_buffer_output (PangoOTBuffer *buffer,
- PangoGlyphString *glyphs)
+pango_ot_buffer_output (const PangoOTBuffer *buffer,
+ PangoGlyphString *glyphs)
{
FT_Face face;
PangoOTInfo *info;