* src/autofit/afhints.c: add stubs to link the "ftgrid" test program

when debugging is disabled in the auto-hinter
This commit is contained in:
David Turner 2006-11-25 01:30:40 +00:00
parent 81e725f513
commit 1bd6c47260
2 changed files with 27 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2006-11-25 David Turner <david@freetype.org>
* src/autofit/afhints.c: add stubs to link the "ftgrid" test program
when debugging is disabled in the auto-hinter
2006-11-23 David Turner <david@freetype.org>
* src/autofit/afhints.c, src/autofit/afhints.h, src/autofit/aflatin.c,

View File

@ -264,6 +264,28 @@
}
}
#else
/* these empty stubs are only used to link the "ftgrid" test program
* when debugging is disabled
*/
void
af_glyph_hints_dump_points( AF_GlyphHints hints )
{
FT_UNUSED(hints);
}
void
af_glyph_hints_dump_segments( AF_GlyphHints hints )
{
FT_UNUSED(hints);
}
void
af_glyph_hints_dump_edges( AF_GlyphHints hints )
{
FT_UNUSED(hints);
}
#endif /* AF_DEBUG */