| Index: include/freetype/internal/services/svpostnm.h
|
| diff --git a/include/freetype/internal/services/svpostnm.h b/include/freetype/internal/services/svpostnm.h
|
| index 106c54f85300f37927359cdaca61ef8d2f68767e..a76b4fe057abe9f985ff05d735fa3d34cef71e50 100644
|
| --- a/include/freetype/internal/services/svpostnm.h
|
| +++ b/include/freetype/internal/services/svpostnm.h
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* The FreeType PostScript name services (specification). */
|
| /* */
|
| -/* Copyright 2003, 2007 by */
|
| +/* Copyright 2003, 2007, 2009, 2012 by */
|
| /* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
| /* */
|
| /* This file is part of the FreeType project, and may only be used, */
|
| @@ -46,26 +46,28 @@ FT_BEGIN_HEADER
|
| FT_PsName_GetFunc get_ps_font_name;
|
| };
|
|
|
| +
|
| #ifndef FT_CONFIG_OPTION_PIC
|
|
|
| -#define FT_DEFINE_SERVICE_PSFONTNAMEREC(class_, get_ps_font_name_) \
|
| - static const FT_Service_PsFontNameRec class_ = \
|
| - { \
|
| - get_ps_font_name_ \
|
| +#define FT_DEFINE_SERVICE_PSFONTNAMEREC( class_, get_ps_font_name_ ) \
|
| + static const FT_Service_PsFontNameRec class_ = \
|
| + { \
|
| + get_ps_font_name_ \
|
| };
|
|
|
| -#else /* FT_CONFIG_OPTION_PIC */
|
| +#else /* FT_CONFIG_OPTION_PIC */
|
|
|
| -#define FT_DEFINE_SERVICE_PSFONTNAMEREC(class_, get_ps_font_name_) \
|
| - void \
|
| - FT_Init_Class_##class_( FT_Library library, \
|
| - FT_Service_PsFontNameRec* clazz) \
|
| - { \
|
| - FT_UNUSED(library); \
|
| - clazz->get_ps_font_name = get_ps_font_name_; \
|
| - }
|
| +#define FT_DEFINE_SERVICE_PSFONTNAMEREC( class_, get_ps_font_name_ ) \
|
| + void \
|
| + FT_Init_Class_ ## class_( FT_Library library, \
|
| + FT_Service_PsFontNameRec* clazz ) \
|
| + { \
|
| + FT_UNUSED( library ); \
|
| + \
|
| + clazz->get_ps_font_name = get_ps_font_name_; \
|
| + }
|
|
|
| -#endif /* FT_CONFIG_OPTION_PIC */
|
| +#endif /* FT_CONFIG_OPTION_PIC */
|
|
|
| /* */
|
|
|
|
|