ref: 98d6a3acaa744a8b83008fefecfd4d31b5e946d0
parent: 422d2a052a0d1aadb909f62e383c18264b999eb3
author: Werner Lemberg <[email protected]>
date: Mon Feb 27 14:49:34 EST 2006
* src/cache/ftccache.c (ftc_node_destroy) [!FT_CONFIG_OPTION_OLD_INTERNALS]: Mark as FT_LOCAL_DEF. This should now fix all possible compilation options.
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,10 @@
[FT_CONFIG_OPTION_OLD_INTERNALS]: Remove declaration of
ftc_node_done.
+ * src/cache/ftccache.c (ftc_node_destroy)
+ [!FT_CONFIG_OPTION_OLD_INTERNALS]: Mark as FT_LOCAL_DEF. This
+ should now fix all possible compilation options.
+
2006-02-27 David Turner <[email protected]>
* src/base/ftutil.c (ft_mem_alloc, ft_mem_qalloc, ft_mem_realloc,
@@ -10,8 +14,8 @@
ft_mem_qrealloc): Return an error if a negative size is passed in
parameters.
- * src/cache/ftccache.c: Make ftc_node_destroy FT_BASE_DEF, it needs
- to be exported for rogue clients.
+ * src/cache/ftccache.c (ftc_node_destroy): Mark as FT_BASE_DEF since
+ it needs to be exported for rogue clients.
* src/pshinter/pshglob.c (psh_blues_set_zones_0): Prevent problems
with malformed fonts which have an odd number of blue values (these
@@ -25,8 +29,8 @@
2006-02-27 Chia-I Wu <[email protected]>
- * src/base/ftobjs.c (FT_Set_Char_Size): Ahh.. forgot to check the case
- width or height is 0.
+ * src/base/ftobjs.c (FT_Set_Char_Size): Check the case where width
+ or height is 0.
2006-02-27 suzuki toshiya <[email protected]>
@@ -33,8 +37,8 @@
* builds/mac/FreeType.m68k_cfm.make.txt,
builds/mac/FreeType.m68k_far.make.txt,
builds/mac/FreeType.ppc_carbon.make.txt,
- builds/mac/FreeType.ppc_classic.make.txt:
- Update to new header inclusion introduced on 2006-02-16.
+ builds/mac/FreeType.ppc_classic.make.txt: Update to new header
+ inclusion introduced on 2006-02-16.
2006-02-27 Chia-I Wu <[email protected]>
--- a/src/cache/ftccache.c
+++ b/src/cache/ftccache.c
@@ -256,8 +256,11 @@
/* remove a node from the cache manager */
- /* this function is FT_BASE since it may be called by old rogue clients */
+#ifdef FT_CONFIG_OPTION_OLD_INTERNALS
FT_BASE_DEF( void )
+#else
+ FT_LOCAL_DEF( void )
+#endif
ftc_node_destroy( FTC_Node node,
FTC_Manager manager )
{