1 /***************************************************************************/
5 /* The FreeType position independent code services for pshinter module. */
7 /* Copyright 2009-2016 by */
8 /* Oran Agra and Mickey Gabel. */
10 /* This file is part of the FreeType project, and may only be used, */
11 /* modified, and distributed under the terms of the FreeType project */
12 /* license, LICENSE.TXT. By continuing to use, modify, or distribute */
13 /* this file you indicate that you have read the license and */
14 /* understand and accept it fully. */
16 /***************************************************************************/
23 #include FT_INTERNAL_PIC_H
26 #ifndef FT_CONFIG_OPTION_PIC
28 #define PSHINTER_INTERFACE_GET pshinter_interface
30 #else /* FT_CONFIG_OPTION_PIC */
32 #include FT_INTERNAL_POSTSCRIPT_HINTS_H
36 typedef struct PSHinterPIC_
38 PSHinter_Interface pshinter_interface;
43 #define GET_PIC( lib ) ( (PSHinterPIC*)( (lib)->pic_container.pshinter ) )
45 #define PSHINTER_INTERFACE_GET ( GET_PIC( library )->pshinter_interface )
47 /* see pshpic.c for the implementation */
49 pshinter_module_class_pic_free( FT_Library library );
52 pshinter_module_class_pic_init( FT_Library library );
56 #endif /* FT_CONFIG_OPTION_PIC */
60 #endif /* PSHPIC_H_ */