diff options
author | Werner Lemberg <wl@gnu.org> | 2023-05-06 20:14:27 +0200 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2023-05-07 14:59:50 +0200 |
commit | ceba488cf8366a71db4aac9b2c623746b086e62b (patch) | |
tree | 0b43bc78f0e49056b734c47c06d60ca77cd0cc22 | |
parent | 4360e20e31d7ad26bbb7389930a94d57e9bb6372 (diff) | |
download | freetype2-ceba488cf8366a71db4aac9b2c623746b086e62b.tar.gz |
* src/psnames/psmodule.c: Use `FT_CALLBACK_DEF`.
-rw-r--r-- | src/psnames/psmodule.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/psnames/psmodule.c b/src/psnames/psmodule.c index d8a2cc764..5a9e1eab8 100644 --- a/src/psnames/psmodule.c +++ b/src/psnames/psmodule.c @@ -57,7 +57,7 @@ /* the name, as in `A.swash' or `e.final'; in this case, the */ /* VARIANT_BIT is set in the return value. */ /* */ - static FT_UInt32 + FT_CALLBACK_DEF( FT_UInt32 ) ps_unicode_value( const char* glyph_name ) { /* If the name begins with `uni', then the glyph name may be a */ @@ -309,7 +309,7 @@ /* Build a table that maps Unicode values to glyph indices. */ - static FT_Error + FT_CALLBACK_DEF( FT_Error ) ps_unicodes_init( FT_Memory memory, PS_Unicodes table, FT_UInt num_glyphs, @@ -408,7 +408,7 @@ } - static FT_UInt + FT_CALLBACK_DEF( FT_UInt ) ps_unicodes_char_index( PS_Unicodes table, FT_UInt32 unicode ) { @@ -453,7 +453,7 @@ } - static FT_UInt + FT_CALLBACK_DEF( FT_UInt ) ps_unicodes_char_next( PS_Unicodes table, FT_UInt32 *unicode ) { @@ -518,7 +518,7 @@ #endif /* FT_CONFIG_OPTION_ADOBE_GLYPH_LIST */ - static const char* + FT_CALLBACK_DEF( const char* ) ps_get_macintosh_name( FT_UInt name_index ) { if ( name_index >= FT_NUM_MAC_NAMES ) @@ -528,7 +528,7 @@ } - static const char* + FT_CALLBACK_DEF( const char* ) ps_get_standard_strings( FT_UInt sid ) { if ( sid >= FT_NUM_SID_NAMES ) |