| Index: include/freetype/internal/services/svttglyf.h
|
| diff --git a/include/freetype/internal/services/svttglyf.h b/include/freetype/internal/services/svttglyf.h
|
| index ab2dc9a9fe96bc8a7fe087bc2e49ecff3be89583..369eb8421b753f1f6470a1a55e5d1c8733e4ae0c 100644
|
| --- a/include/freetype/internal/services/svttglyf.h
|
| +++ b/include/freetype/internal/services/svttglyf.h
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* The FreeType TrueType glyph service. */
|
| /* */
|
| -/* Copyright 2007 by David Turner. */
|
| +/* Copyright 2007, 2009, 2012 by David Turner. */
|
| /* */
|
| /* This file is part of the FreeType project, and may only be used, */
|
| /* modified, and distributed under the terms of the FreeType project */
|
| @@ -24,7 +24,7 @@
|
| FT_BEGIN_HEADER
|
|
|
|
|
| -#define FT_SERVICE_ID_TT_GLYF "tt-glyf"
|
| +#define FT_SERVICE_ID_TT_GLYF "tt-glyf"
|
|
|
|
|
| typedef FT_ULong
|
| @@ -37,24 +37,25 @@ FT_BEGIN_HEADER
|
| TT_Glyf_GetLocationFunc get_location;
|
| };
|
|
|
| +
|
| #ifndef FT_CONFIG_OPTION_PIC
|
|
|
| -#define FT_DEFINE_SERVICE_TTGLYFREC(class_, get_location_ ) \
|
| - static const FT_Service_TTGlyfRec class_ = \
|
| +#define FT_DEFINE_SERVICE_TTGLYFREC( class_, get_location_ ) \
|
| + static const FT_Service_TTGlyfRec class_ = \
|
| { \
|
| get_location_ \
|
| };
|
|
|
| -#else /* FT_CONFIG_OPTION_PIC */
|
| +#else /* FT_CONFIG_OPTION_PIC */
|
|
|
| -#define FT_DEFINE_SERVICE_TTGLYFREC(class_, get_location_ ) \
|
| +#define FT_DEFINE_SERVICE_TTGLYFREC( class_, get_location_ ) \
|
| void \
|
| - FT_Init_Class_##class_( FT_Service_TTGlyfRec* clazz ) \
|
| + FT_Init_Class_ ## class_( FT_Service_TTGlyfRec* clazz ) \
|
| { \
|
| clazz->get_location = get_location_; \
|
| - }
|
| + }
|
|
|
| -#endif /* FT_CONFIG_OPTION_PIC */
|
| +#endif /* FT_CONFIG_OPTION_PIC */
|
|
|
| /* */
|
|
|
|
|