diff options
author | Owen Taylor <otaylor@redhat.com> | 2005-03-05 00:50:48 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2005-03-05 00:50:48 +0000 |
commit | 19eb8c57fe45fabcda2a3d62672496ce0e86b1c5 (patch) | |
tree | c841cf6093ff18c8fdb85a0de8183842e52b83b5 /modules/indic/indic-ot.h | |
parent | c4086835761f0021c372cf2d44998aac89b4778d (diff) | |
download | pango-19eb8c57fe45fabcda2a3d62672496ce0e86b1c5.tar.gz |
Reduce non-shared data (#168899, inspired by patches from Tommi Komulainen
2005-03-04 Owen Taylor <otaylor@redhat.com>
Reduce non-shared data (#168899, inspired by patches
from Tommi Komulainen and Ross Burton)
* pango/pango-color.c pango/pango-color-table.h
tools/gen-color-table.pl: Redo storage of colors to
use offsets into a static string rather than embedded
strings. (Inspired by a patch from Tommi Komulainen,
#168899)
* pango/break.c pango/fonts.c pango/pango-color.c
pango/pango-layout.c pango/pango-markup.c
pango/pango-script-lang-table.h
pango/mini-fribidi/fribidi_types.c
tools/gen-script-for-lang.c: Add const in various places
* modules/arabic/arabic-fc.c modules/hebrew/hebrew-fc.c:
modules/indic/{indic-fc.c,indic-ot-class-tables.c,
indic-ot.h} modules/syriac/syriac-ot.c (syriac): Further
addition of const.
Diffstat (limited to 'modules/indic/indic-ot.h')
-rw-r--r-- | modules/indic/indic-ot.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/modules/indic/indic-ot.h b/modules/indic/indic-ot.h index 47ec64e4..d4c37a8b 100644 --- a/modules/indic/indic-ot.h +++ b/modules/indic/indic-ot.h @@ -204,23 +204,23 @@ struct _IndicOTClassTable gunichar lastChar; glong worstCaseExpansion; IndicOTScriptFlags scriptFlags; - IndicOTCharClass *charClasses; + const IndicOTCharClass *charClasses; const IndicOTSplitMatra *splitMatraTable; }; typedef struct _IndicOTClassTable IndicOTClassTable; -extern IndicOTClassTable deva_class_table; -extern IndicOTClassTable beng_class_table; -extern IndicOTClassTable guru_class_table; -extern IndicOTClassTable gujr_class_table; -extern IndicOTClassTable orya_class_table; -extern IndicOTClassTable taml_class_table; -extern IndicOTClassTable telu_class_table; -extern IndicOTClassTable knda_class_table; -extern IndicOTClassTable mlym_class_table; -extern IndicOTClassTable sinh_class_table; +extern const IndicOTClassTable deva_class_table; +extern const IndicOTClassTable beng_class_table; +extern const IndicOTClassTable guru_class_table; +extern const IndicOTClassTable gujr_class_table; +extern const IndicOTClassTable orya_class_table; +extern const IndicOTClassTable taml_class_table; +extern const IndicOTClassTable telu_class_table; +extern const IndicOTClassTable knda_class_table; +extern const IndicOTClassTable mlym_class_table; +extern const IndicOTClassTable sinh_class_table; const IndicOTSplitMatra *indic_ot_get_split_matra(const IndicOTClassTable *class_table, IndicOTCharClass char_class); |