freetype2/include/freetype/internal
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
..
services Add FT_Get_PS_Font_Value() API. 2011-11-13 16:30:59 +01:00
autohint.h Position Independent Code (PIC) support in autofit module. 2009-04-05 18:23:38 +03:00
ftcalc.h Code beautification. 2009-06-21 20:17:01 +02:00
ftdebug.h Avoid compiler warnings. 2009-01-12 20:11:14 +00:00
ftdriver.h Fix redundant declaration warning in PIC mode. 2012-01-15 23:35:31 +09:00
ftgloadr.h Prevent the overflows by a glyph with too many points or contours. 2009-07-08 14:52:11 +09:00
ftmemory.h Fix type-punning issues with C++. 2010-07-12 20:57:54 +02:00
ftobjs.h Fix redundant declaration warning in PIC mode. 2012-01-15 23:35:31 +09:00
ftpic.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftrfork.h * src/smooth/ftgrays.c (gray_raster_render): Check `outline' 2007-12-30 23:49:14 +00:00
ftserv.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
ftstream.h Fix reading of signed integers from files on 64bit platforms. 2011-04-12 09:26:43 +02:00
fttrace.h [autofit] Add bluezones for CJK Ideographs. 2011-05-08 19:22:32 +09:00
ftvalid.h 2006-10-03 Jens Claudius <jens.claudius@yahoo.com> 2006-10-03 08:53:37 +00:00
internal.h Position Independent Code (PIC) support and infrastructure in base. 2009-04-05 17:59:26 +03:00
psaux.h psaux: Fix a data type mismatching with its source. 2009-08-01 00:32:19 +09:00
pshints.h Use 16.16 format while parsing Type 1 charstrings. 2009-06-22 16:56:47 +02:00
sfnt.h Position Independent Code (PIC) support in sfnt driver. 2009-04-05 18:08:32 +03:00
t1types.h Add FT_Get_PS_Font_Value() API. 2011-11-13 16:30:59 +01:00
tttypes.h sfnt: Extend TT_BDF->strings_size to FT_ULong for huge BDF. 2009-08-01 00:32:13 +09:00