xref: /plan9/sys/src/cmd/gs/src/iparray.h (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1 /* Copyright (C) 1994, 1999 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: iparray.h,v 1.5 2002/06/16 04:47:10 lpd Exp $ */
18 /* Packed array constructor for Ghostscript */
19 /* Requires ipacked.h, istack.h */
20 
21 #ifndef iparray_INCLUDED
22 #  define iparray_INCLUDED
23 
24 /*
25  * The only reason to put this in a separate header is that it requires
26  * both ipacked.h and istack.h; putting it in either one would make it
27  * depend on the other one.  There must be a better way....
28  */
29 
30 /* Procedures implemented in zpacked.c */
31 
32 /* Make a packed array from the top N elements of a stack. */
33 int make_packed_array(ref *, ref_stack_t *, uint, gs_dual_memory_t *,
34 		      client_name_t);
35 
36 #endif /* iparray_INCLUDED */
37