freetype2/include/freetype
suzuki toshiya 3c96681856 Fix redundant declaration warning in PIC mode.
Originally FT_DEFINE_{DRIVER,MODULE,RENDERER}() macros were
designed to declare xxx_pic_{free,init} by themselves.
Because these macros are used at the end of the module
interface (e.g. ttdriver.c) and the wrapper source to build
a module as a single object (e.g. truetype.c) includes
the PIC file (e.g. ttpic.c) before the module interface,
these macros are expanded AFTER xxx_pic_{free,init} body
when the modules are built as single object.
The declaration after the implementation causes the redundant
declaration warnings, so the declarations are moved to module
PIC headers (e.g. ttpic.h).  Separating to other header files
are needed for multi build.

* include/freetype/internal/ftdriver.h (FT_DEFINE_DRIVER):
Remove class_##_pic_free and class_##_pic_init declarations.
* include/freetype/internal/ftobjs.h (FT_DEFINE_RENDERER,
FT_DEFINE_MODULE): Ditto.

* src/base/basepic.h: Insert a comment and fix coding style.
* src/autofit/afpic.h: Declare autofit_module_class_pic_{free,
init}.
* src/cff/cffpic.h: Declare cff_driver_class_pic_{free,init}.
* src/pshinter/pshpic.h: Declare pshinter_module_class_pic_{free,
init}.
* src/psnames/pspic.h: Declare psnames_module_class_pic_{free,
init}.
* src/raster/rastpic.h: Declare
ft_raster{1,5}_renderer_class_pic_{free,init}
* src/sfnt/sfntpic.h: Declare sfnt_module_class_pic_{free,init}.
* src/smooth/ftspic.h: Declare
ft_smooth_{,lcd_,lcdv_}renderer_class_pic_{free,init}.
* src/truetype/ttpic.h: Declare tt_driver_class_pic_{free,init}.
2012-01-15 23:35:31 +09:00
..
config [mac] Unify DARWIN_NO_CARBON with FT_MACINTOSH. 2011-12-02 21:14:58 +09:00
internal Fix redundant declaration warning in PIC mode. 2012-01-15 23:35:31 +09:00
freetype.h * Version 2.4.8 released. 2011-11-14 20:37:12 +01:00
ftadvanc.h load_flags of FT_Get_Advance(), FT_Get_Advances() and backends are declared as FT_Int32 to match the flags of FT_Load_Glyph() 2009-01-09 11:11:53 +00:00
ftbbox.h Document BBox and CBox computation problems for tricky fonts. 2011-04-13 00:29:41 +02:00
ftbdf.h * include/freetype/ftbdf.h (FT_Get_BDF_Property): Improve documentation. 2009-01-11 11:45:54 +00:00
ftbitmap.h * include/freetype/ftsynth.h, src/basae/ftsynth.c: Move 2008-12-17 10:50:31 +00:00
ftbzip2.h Improve bzip2 support. 2010-12-31 17:47:09 +01:00
ftcache.h [cache] Hide internal macros incompatible with LLP64. 2010-10-25 01:12:09 +09:00
ftchapters.h Improve bzip2 support. 2010-12-31 17:47:09 +01:00
ftcid.h Typo. 2009-03-11 21:39:10 +00:00
fterrdef.h Add new error code FT_Err_Missing_Module. 2011-11-26 13:38:26 +01:00
fterrors.h * include/freetype/fterrors.h: Remove dead code. 2011-11-24 12:53:38 +01:00
ftgasp.h Improve `gasp' table documentation. 2011-01-05 22:21:33 +01:00
ftglyph.h Document BBox and CBox computation problems for tricky fonts. 2011-04-13 00:29:41 +02:00
ftgxval.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftgzip.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftimage.h In the documentation, explain what `padding' means. 2010-08-21 09:01:51 +02:00
ftincrem.h Doc fix. 2010-02-13 07:53:37 +01:00
ftlcdfil.h Add reference counters and to FT_Library and FT_Face objects. 2010-07-18 18:41:47 +02:00
ftlist.h Fix various memory problems found by linuxtesting.org. 2010-05-22 20:03:41 +02:00
ftlzw.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftmac.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftmm.h Documentation fixes. 2009-01-19 08:35:45 +00:00
ftmodapi.h Add reference counters and to FT_Library and FT_Face objects. 2010-07-18 18:41:47 +02:00
ftmoderr.h Improve bzip2 support. 2010-12-31 17:47:09 +01:00
ftotval.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftoutln.h Document BBox and CBox computation problems for tricky fonts. 2011-04-13 00:29:41 +02:00
ftpfr.h Documentation fixes. 2009-01-19 08:47:43 +00:00
ftrender.h Fix parameter handling of `FT_Set_Renderer'. 2010-12-13 20:17:26 +01:00
ftsizes.h Documentation fixes. 2009-01-19 08:35:45 +00:00
ftsnames.h Minor doc fixes. 2010-02-13 07:53:37 +01:00
ftstroke.h [ftstroke] Major revision. 2011-07-02 12:09:52 +02:00
ftsynth.h * include/freetype/ftsynth.h, src/basae/ftsynth.c: Move 2008-12-17 10:50:31 +00:00
ftsystem.h Add some memory checks (mainly for debugging). 2010-06-26 09:24:08 +02:00
fttrigon.h More typo fixes from Alexei. 2007-01-30 23:08:50 +00:00
fttypes.h fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly. 2009-08-01 00:30:18 +09:00
ftwinfnt.h Improve navigation in API reference. 2008-06-26 19:56:51 +00:00
ftxf86.h Document that FT_Get_X11_Font_Format() is a general call. 2009-08-28 09:08:00 +02:00
t1tables.h Typo. 2011-11-15 08:17:59 +01:00
ttnameid.h Unicode != ISO in the earliest TTF terminology. 2010-07-09 22:14:35 +09:00
tttables.h Make FT_Sfnt_Table_Info return the number of SFNT tables. 2011-03-09 06:18:28 +01:00
tttags.h formatting 2008-10-05 06:08:40 +00:00
ttunpat.h * src/tools/docmaker/sources.py (re_source_keywords): Add word 2006-05-12 08:00:13 +00:00