| Index: include/freetype/internal/services/svsfnt.h
|
| diff --git a/include/freetype/internal/services/svsfnt.h b/include/freetype/internal/services/svsfnt.h
|
| index 30bb1620fe11846f704e371eec71997cd3b59855..d3835aa1c2a1716a5b4e6f991320718cef3f9202 100644
|
| --- a/include/freetype/internal/services/svsfnt.h
|
| +++ b/include/freetype/internal/services/svsfnt.h
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* The FreeType SFNT table loading service (specification). */
|
| /* */
|
| -/* Copyright 2003, 2004 by */
|
| +/* Copyright 2003, 2004, 2009, 2012 by */
|
| /* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
| /* */
|
| /* This file is part of the FreeType project, and may only be used, */
|
| @@ -69,26 +69,27 @@ FT_BEGIN_HEADER
|
| FT_SFNT_TableInfoFunc table_info;
|
| };
|
|
|
| +
|
| #ifndef FT_CONFIG_OPTION_PIC
|
|
|
| -#define FT_DEFINE_SERVICE_SFNT_TABLEREC(class_, load_, get_, info_) \
|
| - static const FT_Service_SFNT_TableRec class_ = \
|
| - { \
|
| - load_, get_, info_ \
|
| +#define FT_DEFINE_SERVICE_SFNT_TABLEREC( class_, load_, get_, info_ ) \
|
| + static const FT_Service_SFNT_TableRec class_ = \
|
| + { \
|
| + load_, get_, info_ \
|
| };
|
|
|
| -#else /* FT_CONFIG_OPTION_PIC */
|
| +#else /* FT_CONFIG_OPTION_PIC */
|
|
|
| -#define FT_DEFINE_SERVICE_SFNT_TABLEREC(class_, load_, get_, info_) \
|
| - void \
|
| - FT_Init_Class_##class_( FT_Service_SFNT_TableRec* clazz ) \
|
| - { \
|
| - clazz->load_table = load_; \
|
| - clazz->get_table = get_; \
|
| - clazz->table_info = info_; \
|
| - }
|
| +#define FT_DEFINE_SERVICE_SFNT_TABLEREC( class_, load_, get_, info_ ) \
|
| + void \
|
| + FT_Init_Class_ ## class_( FT_Service_SFNT_TableRec* clazz ) \
|
| + { \
|
| + clazz->load_table = load_; \
|
| + clazz->get_table = get_; \
|
| + clazz->table_info = info_; \
|
| + }
|
|
|
| -#endif /* FT_CONFIG_OPTION_PIC */
|
| +#endif /* FT_CONFIG_OPTION_PIC */
|
|
|
| /* */
|
|
|
|
|