/[freetype]/freetype2/src/cache/ftcbasic.c
ViewVC logotype

Diff of /freetype2/src/cache/ftcbasic.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by davidT, Wed Jun 9 21:07:49 2004 UTC revision 1.13 by freetype, Sun May 1 10:11:31 2005 UTC
# Line 39  Line 39 
39    } FTC_BasicAttrRec, *FTC_BasicAttrs;    } FTC_BasicAttrRec, *FTC_BasicAttrs;
40    
41  #define FTC_BASIC_ATTR_COMPARE( a, b )                           \  #define FTC_BASIC_ATTR_COMPARE( a, b )                           \
42            ( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) &&  \            FT_BOOL( FTC_SCALER_COMPARE( &(a)->scaler, &(b)->scaler ) &&  \
43              (a)->load_flags == (b)->load_flags               )                     (a)->load_flags == (b)->load_flags               )
44    
45  #define FTC_BASIC_ATTR_HASH( a )                                   \  #define FTC_BASIC_ATTR_HASH( a )                                   \
46            ( FTC_SCALER_HASH( &(a)->scaler ) + 31*(a)->load_flags )            ( FTC_SCALER_HASH( &(a)->scaler ) + 31*(a)->load_flags )
# Line 266  Line 266 
266                           FTC_Node       *anode )                           FTC_Node       *anode )
267    {    {
268      FTC_BasicQueryRec  query;      FTC_BasicQueryRec  query;
269      FTC_INode          node;      FTC_INode          node = 0;  /* make compiler happy */
270      FT_Error           error;      FT_Error           error;
271      FT_UInt32          hash;      FT_UInt32          hash;
272    
# Line 385  Line 385 
385    {    {
386      FT_Error           error;      FT_Error           error;
387      FTC_BasicQueryRec  query;      FTC_BasicQueryRec  query;
388      FTC_SNode          node;      FTC_SNode          node = 0; /* make compiler happy */
389      FT_UInt32          hash;      FT_UInt32          hash;
390    
391    

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26