aboutsummaryrefslogtreecommitdiff
path: root/src/cache/ftccback.h
diff options
context:
space:
mode:
authorWerner Lemberg <wl@gnu.org>2004-05-17 09:25:04 +0000
committerWerner Lemberg <wl@gnu.org>2004-05-17 09:25:04 +0000
commite260d2538de295949e9975fa7f35d0ee7b19b9f9 (patch)
tree3dcaef9da2203b6f6c85b88625c725b06bf7627d /src/cache/ftccback.h
parentf258627e8346591f235a4d85a618f6f412e0f937 (diff)
downloadfreetype-e260d2538de295949e9975fa7f35d0ee7b19b9f9.tar.gz
* src/cache/ftcbasic.c (ftc_basic_family_compare,
ftc_basic_family_init, ftc_basic_family_get_count, ftc_basic_family_load_bitmap, ftc_basic_family_load_glyph, ftc_basic_gnode_compare_faceid): Adjust parameters and return types to prototypes given in header files from include/freetype/cache. Use casts to proper types locally. (ftc_basic_image_family_class, ftc_basic_image_cache_class, ftc_basic_sbit_family_class, ftc_basic_sbit_cache_class): Remove casts. * src/cache/ftccback.h: Adjust parameters and return types to prototypes given in header files from include/freetype/cache. * src/cache/ftcimage.c (ftc_inode_free, ftc_inode_new, ftc_inode_weight): Adjust parameters and return types to prototypes given in header files from include/freetype/cache. Use casts to proper types locally. * src/cache/ftcsbits.c (ftc_snode_free, ftc_snode_new, ftc_snode_weight, ftc_snode_compare): Adjust parameters and return types to prototypes given in header files from include/freetype/cache. Use casts to proper types locally. * src/cache/ftccmap.c (ftc_cmap_node_free, ftc_cmap_node_new, ftc_cmap_node_weight, ftc_cmap_node_compare, ftc_cmap_node_remove_faceid): Adjust parameters and return types to prototypes given in header files from include/freetype/cache. Use casts to proper types locally. (ftc_cmap_cache_class): Remove casts. * src/cache/ftcglyph.c (ftc_gnode_compare, ftc_gcache_init, ftc_gcache_done): Adjust parameters and return types to prototypes given in header files from include/freetype/cache. Use casts to proper types locally. * src/cache/ftcmanag.c (ftc_size_node_done, ftc_size_node_compare, ftc_size_node_init, ftc_size_node_reset, ftc_size_node_compare_faceid, ftc_face_node_init, ftc_face_node_done, ftc_face_node_compare: Adjust parameters and return types to prototypes given in header files from include/freetype/cache. Use casts to proper types locally. (ftc_size_list_class, ftc_face_list_class): Remove casts. * src/autohint/ahmodule.c (ft_autohinter_init, ft_autohinter_done): Use FT_Module as parameter and do a cast to FT_AutoHinter locally. (autohint_module_class): Remove casts. * src/base/ftglyph.c (ft_bitmap_glyph_init, ft_bitmap_glyph_copy, ft_bitmap_glyph_done, ft_bitmap_glyph_bbox, ft_outline_glyph_init, ft_outline_glyph_done, ft_outline_glyph_copy, ft_outline_glyph_transform, ft_outline_glyph_bbox, ft_outline_glyph_prepare): Use FT_Glyph as parameter and do a cast to FT_XXXGlyph locally. Use FT_CALLBACK_DEF throughout. (ft_bitmap_glyph_class, ft_outline_glyph_class): Remove casts. * src/bdf/bdfdrivr.c (bdf_cmap_init, bdf_cmap_done, bdf_cmap_char_index, bdf_cmap_char_next): Use FT_CMap as parameter and do a cast to BDF_CMap locally. (bdf_cmap_class): Remove casts.
Diffstat (limited to 'src/cache/ftccback.h')
-rw-r--r--src/cache/ftccback.h33
1 files changed, 18 insertions, 15 deletions
diff --git a/src/cache/ftccback.h b/src/cache/ftccback.h
index 68be91385..6b47e095e 100644
--- a/src/cache/ftccback.h
+++ b/src/cache/ftccback.h
@@ -28,46 +28,49 @@
FT_LOCAL( void )
- ftc_inode_free( FTC_INode inode,
+ ftc_inode_free( FTC_Node inode,
FTC_Cache cache );
FT_LOCAL( FT_Error )
- ftc_inode_new( FTC_INode *pinode,
- FTC_GQuery gquery,
- FTC_Cache cache );
+ ftc_inode_new( FTC_Node *pinode,
+ FT_Pointer gquery,
+ FTC_Cache cache );
FT_LOCAL( FT_ULong )
- ftc_inode_weight( FTC_INode inode );
+ ftc_inode_weight( FTC_Node inode,
+ FTC_Cache cache );
FT_LOCAL( void )
- ftc_snode_free( FTC_SNode snode,
+ ftc_snode_free( FTC_Node snode,
FTC_Cache cache );
FT_LOCAL( FT_Error )
- ftc_snode_new( FTC_SNode *psnode,
- FTC_GQuery gquery,
+ ftc_snode_new( FTC_Node *psnode,
+ FT_Pointer gquery,
FTC_Cache cache );
FT_LOCAL( FT_ULong )
- ftc_snode_weight( FTC_SNode snode );
+ ftc_snode_weight( FTC_Node snode,
+ FTC_Cache cache );
FT_LOCAL( FT_Bool )
- ftc_snode_compare( FTC_SNode snode,
- FTC_GQuery gquery,
+ ftc_snode_compare( FTC_Node snode,
+ FT_Pointer gquery,
FTC_Cache cache );
FT_LOCAL( FT_Bool )
- ftc_gnode_compare( FTC_GNode gnode,
- FTC_GQuery gquery );
+ ftc_gnode_compare( FTC_Node gnode,
+ FT_Pointer gquery,
+ FTC_Cache cache );
FT_LOCAL( FT_Error )
- ftc_gcache_init( FTC_GCache cache );
+ ftc_gcache_init( FTC_Cache cache );
FT_LOCAL( void )
- ftc_gcache_done( FTC_GCache cache );
+ ftc_gcache_done( FTC_Cache cache );
FT_LOCAL( FT_Error )