[cache] Fit FTC_GNode_Compare() to FTC_Node_CompareFunc.
* src/cache/ftcglyph.h (FTC_GNode_Compare): Add the 3rd argument `FTC_Cache cache' to fit FTC_Node_CompareFunc prototype. * src/cache/ftcglyph.c (FTC_GNode_Compare): Ditto. Anyway, `cache' is not used by its child ftc_gnode_compare().
This commit is contained in:
parent
9a2e255b23
commit
62d116f8d6
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
||||
2010-01-09 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
[cache] Fit FTC_GNode_Compare() to FTC_Node_CompareFunc.
|
||||
|
||||
* src/cache/ftcglyph.h (FTC_GNode_Compare): Add the 3rd
|
||||
argument `FTC_Cache cache' to fit FTC_Node_CompareFunc
|
||||
prototype.
|
||||
* src/cache/ftcglyph.c (FTC_GNode_Compare): Ditto. Anyway,
|
||||
`cache' is not used by its child ftc_gnode_compare().
|
||||
|
||||
2010-01-09 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
[cache] Deduplicate the code to get the top node by a hash.
|
||||
|
5
src/cache/ftcglyph.c
vendored
5
src/cache/ftcglyph.c
vendored
@ -80,9 +80,10 @@
|
||||
|
||||
FT_LOCAL_DEF( FT_Bool )
|
||||
FTC_GNode_Compare( FTC_GNode gnode,
|
||||
FTC_GQuery gquery )
|
||||
FTC_GQuery gquery,
|
||||
FTC_Cache cache )
|
||||
{
|
||||
return ftc_gnode_compare( FTC_NODE( gnode ), gquery, NULL );
|
||||
return ftc_gnode_compare( FTC_NODE( gnode ), gquery, cache );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
3
src/cache/ftcglyph.h
vendored
3
src/cache/ftcglyph.h
vendored
@ -187,7 +187,8 @@ FT_BEGIN_HEADER
|
||||
/* already correctly set */
|
||||
FT_LOCAL( FT_Bool )
|
||||
FTC_GNode_Compare( FTC_GNode gnode,
|
||||
FTC_GQuery gquery );
|
||||
FTC_GQuery gquery,
|
||||
FTC_Cache cache );
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user