mgh: fix for default HDD DMA mode, that wasn't correctly set
[open-ps2-loader.git] / thirdparty / freetype-2.3.12 / src / psnames / pspic.h
blob75a14fdcb9bd70c647f17c161bf5ecaf1ba0c1ff
1 /***************************************************************************/
2 /* */
3 /* pspic.h */
4 /* */
5 /* The FreeType position independent code services for psnames module. */
6 /* */
7 /* Copyright 2009 by */
8 /* Oran Agra and Mickey Gabel. */
9 /* */
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. */
15 /* */
16 /***************************************************************************/
19 #ifndef __PSPIC_H__
20 #define __PSPIC_H__
23 FT_BEGIN_HEADER
25 #include FT_INTERNAL_PIC_H
27 #ifndef FT_CONFIG_OPTION_PIC
28 #define FT_PSCMAPS_SERVICES_GET pscmaps_services
29 #define FT_PSCMAPS_INTERFACE_GET pscmaps_interface
31 #else /* FT_CONFIG_OPTION_PIC */
33 #include FT_SERVICE_POSTSCRIPT_CMAPS_H
35 typedef struct PSModulePIC_
37 FT_ServiceDescRec* pscmaps_services;
38 FT_Service_PsCMapsRec pscmaps_interface;
39 } PSModulePIC;
41 #define GET_PIC(lib) ((PSModulePIC*)((lib)->pic_container.psnames))
42 #define FT_PSCMAPS_SERVICES_GET (GET_PIC(library)->pscmaps_services)
43 #define FT_PSCMAPS_INTERFACE_GET (GET_PIC(library)->pscmaps_interface)
45 #endif /* FT_CONFIG_OPTION_PIC */
47 /* */
49 FT_END_HEADER
51 #endif /* __PSPIC_H__ */
54 /* END */