summaryrefslogtreecommitdiff
path: root/pango/pango-ot.h
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.h
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.h')
-rw-r--r--pango/pango-ot.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/pango/pango-ot.h b/pango/pango-ot.h
index df049378..7959c6d6 100644
--- a/pango/pango-ot.h
+++ b/pango/pango-ot.h
@@ -112,11 +112,11 @@ void pango_ot_buffer_add_glyph (PangoOTBuffer *buffer,
guint glyph,
guint properties,
guint cluster);
-void pango_ot_buffer_get_glyphs (PangoOTBuffer *buffer,
- PangoOTGlyph **glyphs,
- int *n_glyphs);
-void pango_ot_buffer_output (PangoOTBuffer *buffer,
- PangoGlyphString *glyphs);
+void pango_ot_buffer_get_glyphs (const PangoOTBuffer *buffer,
+ PangoOTGlyph **glyphs,
+ int *n_glyphs);
+void pango_ot_buffer_output (const PangoOTBuffer *buffer,
+ PangoGlyphString *glyphs);
void pango_ot_buffer_set_zero_width_marks (PangoOTBuffer *buffer,
gboolean zero_width_marks);
@@ -137,10 +137,10 @@ int pango_ot_ruleset_maybe_add_features (PangoOTRuleset *ru
PangoOTTableType table_type,
const PangoOTFeatureMap *features,
int n_features);
-void pango_ot_ruleset_substitute (PangoOTRuleset *ruleset,
- PangoOTBuffer *buffer);
-void pango_ot_ruleset_position (PangoOTRuleset *ruleset,
- PangoOTBuffer *buffer);
+void pango_ot_ruleset_substitute (const PangoOTRuleset *ruleset,
+ PangoOTBuffer *buffer);
+void pango_ot_ruleset_position (const PangoOTRuleset *ruleset,
+ PangoOTBuffer *buffer);
PangoScript pango_ot_tag_to_script (PangoOTTag script_tag);
PangoOTTag pango_ot_tag_from_script (PangoScript script);
PangoLanguage* pango_ot_tag_to_language (PangoOTTag language_tag);