1 /* Copyright (C) 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: iosdata.h,v 1.4 2002/02/21 22:24:53 giles Exp $ */ 18 /* Generic operand stack API */ 19 20 #ifndef iosdata_INCLUDED 21 # define iosdata_INCLUDED 22 23 #include "isdata.h" 24 25 /* Define the operand stack structure. */ 26 /* Currently this is just a generic ref stack. */ 27 typedef struct op_stack_s { 28 29 ref_stack_t stack; /* the actual operand stack */ 30 31 } op_stack_t; 32 33 #define public_st_op_stack() /* in interp.c */\ 34 gs_public_st_suffix_add0(st_op_stack, op_stack_t, "op_stack_t",\ 35 op_stack_enum_ptrs, op_stack_reloc_ptrs, st_ref_stack) 36 #define st_op_stack_num_ptrs st_ref_stack_num_ptrs 37 38 #endif /* iosdata_INCLUDED */ 39