| Index: src/raster/rastpic.h
|
| diff --git a/src/raster/rastpic.h b/src/raster/rastpic.h
|
| index 7822a24b4844b6d01573166e8c66a17a1a8aaeff..e0ddba624ee71c7d6df9ceb08c1be36fde1ada22 100644
|
| --- a/src/raster/rastpic.h
|
| +++ b/src/raster/rastpic.h
|
| @@ -24,19 +24,25 @@ FT_BEGIN_HEADER
|
|
|
| #include FT_INTERNAL_PIC_H
|
|
|
| +
|
| #ifndef FT_CONFIG_OPTION_PIC
|
| -#define FT_STANDARD_RASTER_GET ft_standard_raster
|
| +
|
| +#define FT_STANDARD_RASTER_GET ft_standard_raster
|
|
|
| #else /* FT_CONFIG_OPTION_PIC */
|
|
|
| - typedef struct RasterPIC_
|
| + typedef struct RasterPIC_
|
| {
|
| - int ref_count;
|
| - FT_Raster_Funcs ft_standard_raster;
|
| + int ref_count;
|
| + FT_Raster_Funcs ft_standard_raster;
|
| +
|
| } RasterPIC;
|
|
|
| -#define GET_PIC(lib) ((RasterPIC*)((lib)->pic_container.raster))
|
| -#define FT_STANDARD_RASTER_GET (GET_PIC(library)->ft_standard_raster)
|
| +
|
| +#define GET_PIC( lib ) \
|
| + ( (RasterPIC*)( (lib)->pic_container.raster ) )
|
| +#define FT_STANDARD_RASTER_GET ( GET_PIC( library )->ft_standard_raster )
|
| +
|
|
|
| /* see rastpic.c for the implementation */
|
| void
|
|
|