| Index: src/pshinter/pshpic.h
|
| diff --git a/src/pshinter/pshpic.h b/src/pshinter/pshpic.h
|
| index c10bdd9996997980eb79c6017eabaf5b55b286b6..b46f8531138796e426b99ebc7d4211267d937464 100644
|
| --- a/src/pshinter/pshpic.h
|
| +++ b/src/pshinter/pshpic.h
|
| @@ -4,7 +4,7 @@
|
| /* */
|
| /* The FreeType position independent code services for pshinter module. */
|
| /* */
|
| -/* Copyright 2009 by */
|
| +/* Copyright 2009, 2012, 2013 by */
|
| /* Oran Agra and Mickey Gabel. */
|
| /* */
|
| /* This file is part of the FreeType project, and may only be used, */
|
| @@ -24,21 +24,25 @@ FT_BEGIN_HEADER
|
|
|
| #include FT_INTERNAL_PIC_H
|
|
|
| +
|
| #ifndef FT_CONFIG_OPTION_PIC
|
|
|
| -#define FTPSHINTER_INTERFACE_GET pshinter_interface
|
| +#define PSHINTER_INTERFACE_GET pshinter_interface
|
|
|
| #else /* FT_CONFIG_OPTION_PIC */
|
|
|
| #include FT_INTERNAL_POSTSCRIPT_HINTS_H
|
|
|
| - typedef struct PSHinterPIC_
|
| + typedef struct PSHinterPIC_
|
| {
|
| - PSHinter_Interface pshinter_interface;
|
| + PSHinter_Interface pshinter_interface;
|
| +
|
| } PSHinterPIC;
|
|
|
| -#define GET_PIC(lib) ((PSHinterPIC*)((lib)->pic_container.autofit))
|
| -#define FTPSHINTER_INTERFACE_GET (GET_PIC(library)->pshinter_interface)
|
| +
|
| +#define GET_PIC( lib ) ( (PSHinterPIC*)( (lib)->pic_container.pshinter ) )
|
| +
|
| +#define PSHINTER_INTERFACE_GET ( GET_PIC( library )->pshinter_interface )
|
|
|
| /* see pshpic.c for the implementation */
|
| void
|
|
|