xref: /plan9/sys/src/cmd/gs/src/gx.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1989, 1991, 1994 Aladdin Enterprises.  All rights reserved.
2 
3   This software is provided AS-IS with no warranty, either express or
4   implied.
5 
6   This software is distributed under license and may not be copied,
7   modified or distributed except as expressly authorized under the terms
8   of the license contained in the file LICENSE in this distribution.
9 
10   For more information about licensing, please refer to
11   http://www.ghostscript.com/licensing/. For information on
12   commercial licensing, go to http://www.artifex.com/licensing/ or
13   contact Artifex Software, Inc., 101 Lucas Valley Road #110,
14   San Rafael, CA  94903, U.S.A., +1(415)492-9861.
15 */
16 
17 /* $Id: gx.h,v 1.44 2005/04/04 20:28:27 igor Exp $ */
18 /* Common internal definitions for Ghostscript library */
19 
20 #ifndef gx_INCLUDED
21 #  define gx_INCLUDED
22 
23 #include "stdio_.h"		/* includes std.h */
24 #include "gserror.h"
25 #include "gsio.h"
26 #include "gstypes.h"
27 #include "gsmemory.h"
28 #include "gdebug.h"
29 
30 /* Define opaque types for the graphics state. */
31 /* This is used so pervasively that we define it here, */
32 /* rather than at a higher level as perhaps would be more appropriate. */
33 #ifndef gs_imager_state_DEFINED
34 #  define gs_imager_state_DEFINED
35 typedef struct gs_imager_state_s gs_imager_state;
36 
37 #endif
38 #ifndef gs_state_DEFINED
39 #  define gs_state_DEFINED
40 typedef struct gs_state_s gs_state;
41 
42 #endif
43 
44 #endif /* gx_INCLUDED */
45