1 /* Copyright (C) 2001-2006 Artifex Software, Inc. 2 All Rights Reserved. 3 4 This software is provided AS-IS with no warranty, either express or 5 implied. 6 7 This software is distributed under license and may not be copied, modified 8 or distributed except as expressly authorized under the terms of that 9 license. Refer to licensing information at http://www.artifex.com/ 10 or contact Artifex Software, Inc., 7 Mt. Lassen Drive - Suite A-134, 11 San Rafael, CA 94903, U.S.A., +1(415)492-9861, for further information. 12 */ 13 14 /* $Id: iosdata.h 9043 2008-08-28 22:48:19Z giles $ */ 15 /* Generic operand stack API */ 16 17 #ifndef iosdata_INCLUDED 18 # define iosdata_INCLUDED 19 20 #include "isdata.h" 21 22 /* Define the operand stack structure. */ 23 /* Currently this is just a generic ref stack. */ 24 typedef struct op_stack_s { 25 26 ref_stack_t stack; /* the actual operand stack */ 27 28 } op_stack_t; 29 30 #define public_st_op_stack() /* in interp.c */\ 31 gs_public_st_suffix_add0(st_op_stack, op_stack_t, "op_stack_t",\ 32 op_stack_enum_ptrs, op_stack_reloc_ptrs, st_ref_stack) 33 #define st_op_stack_num_ptrs st_ref_stack_num_ptrs 34 35 #endif /* iosdata_INCLUDED */ 36