summaryrefslogtreecommitdiff
path: root/src/cache/ftcimage.c
diff options
context:
space:
mode:
authorDavid Turner <david@freetype.org>2001-06-27 09:26:46 +0000
committerDavid Turner <david@freetype.org>2001-06-27 09:26:46 +0000
commitdee781342b932b60c0c885d4f493b8246710a34c (patch)
treeeb5496bf994877ccc3084a7fac9d761a2cc0956a /src/cache/ftcimage.c
parent890f313b379a0f9f41b6d4d5c471245127fae082 (diff)
* include/freetype/ftconfig.h, src/*/*.c: changed the definition and
uses of the FT_CALLBACK_DEF macro in order to support 16-bit compilers
Diffstat (limited to 'src/cache/ftcimage.c')
-rw-r--r--src/cache/ftcimage.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/cache/ftcimage.c b/src/cache/ftcimage.c
index f76643d0..0cc259b5 100644
--- a/src/cache/ftcimage.c
+++ b/src/cache/ftcimage.c
@@ -62,9 +62,9 @@
/*************************************************************************/
- FT_CALLBACK_DEF
- void ftc_glyph_image_node_destroy( FTC_GlyphImage node,
- FTC_GlyphSet gset )
+ FT_CALLBACK_DEF(void)
+ ftc_glyph_image_node_destroy( FTC_GlyphImage node,
+ FTC_GlyphSet gset )
{
FT_Memory memory = gset->memory;
@@ -74,10 +74,10 @@
}
- FT_CALLBACK_DEF
- FT_Error ftc_glyph_image_node_new( FTC_GlyphSet gset,
- FT_UInt glyph_index,
- FTC_GlyphImage *anode )
+ FT_CALLBACK_DEF(FT_Error)
+ ftc_glyph_image_node_new( FTC_GlyphSet gset,
+ FT_UInt glyph_index,
+ FTC_GlyphImage *anode )
{
FT_Memory memory = gset->memory;
FTC_ImageSet imageset = (FTC_ImageSet)gset;
@@ -161,8 +161,8 @@
/* this function is important because it is both part of */
/* an FTC_GlyphSet_Class and an FTC_CacheNode_Class */
/* */
- FT_CALLBACK_DEF
- FT_ULong ftc_glyph_image_node_size( FTC_GlyphImage node )
+ FT_CALLBACK_DEF(FT_ULong)
+ ftc_glyph_image_node_size( FTC_GlyphImage node )
{
FT_ULong size = 0;
FT_Glyph glyph = node->ft_glyph;
@@ -212,18 +212,18 @@
/*************************************************************************/
- FT_CALLBACK_DEF
- FT_Error ftc_image_set_init( FTC_ImageSet iset,
- FTC_Image_Desc* type )
+ FT_CALLBACK_DEF(FT_Error)
+ ftc_image_set_init( FTC_ImageSet iset,
+ FTC_Image_Desc* type )
{
iset->description = *type;
return 0;
}
- FT_CALLBACK_DEF
- FT_Bool ftc_image_set_compare( FTC_ImageSet iset,
- FTC_Image_Desc* type )
+ FT_CALLBACK_DEF(FT_Bool)
+ ftc_image_set_compare( FTC_ImageSet iset,
+ FTC_Image_Desc* type )
{
return FT_BOOL( !memcmp( &iset->description, type, sizeof ( *type ) ) );
}