* src/otvalid/{otvgsub.c, otvgpos.c}: making static tables constant

This commit is contained in:
David Turner 2005-03-06 08:14:36 +00:00
parent 094786cb00
commit 52a05d799e
3 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2005-03-06 David Turner <david@freetype.org>
* src/otvalid/{otvgsub.c, otvgpos.c}: making static tables constant
2005-03-05 Werner Lemberg <wl@gnu.org>
* autogen.sh: New script for bootstrapping.

View File

@ -932,7 +932,7 @@
}
static OTV_Validate_Func otv_gpos_validate_funcs[9] =
static const OTV_Validate_Func otv_gpos_validate_funcs[9] =
{
otv_SinglePos_validate,
otv_PairPos_validate,
@ -954,7 +954,7 @@
OTV_Validator valid )
{
valid->type_count = 9;
valid->type_funcs = otv_gpos_validate_funcs;
valid->type_funcs = (OTV_Validate_Func*) otv_gpos_validate_funcs;
otv_Lookup_validate( table, valid );
}
@ -996,7 +996,7 @@
LookupList = FT_NEXT_USHORT( p );
valid->type_count = 9;
valid->type_funcs = otv_gpos_validate_funcs;
valid->type_funcs = (OTV_Validate_Func*) otv_gpos_validate_funcs;
valid->glyph_count = glyph_count;
otv_LookupList_validate( table + LookupList,

View File

@ -516,7 +516,7 @@
}
static OTV_Validate_Func otv_gsub_validate_funcs[8] =
static const OTV_Validate_Func otv_gsub_validate_funcs[8] =
{
otv_SingleSubst_validate,
otv_MultipleSubst_validate,
@ -567,7 +567,7 @@
LookupList = FT_NEXT_USHORT( p );
valid->type_count = 8;
valid->type_funcs = otv_gsub_validate_funcs;
valid->type_funcs = (OTV_Validate_Func*) otv_gsub_validate_funcs;
valid->glyph_count = glyph_count;
otv_LookupList_validate( table + LookupList,