1 /* Copyright (C) 1999 Aladdin Enterprises. All rights reserved. 2 3 This file is part of AFPL Ghostscript. 4 5 AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND. No author or 6 distributor accepts any responsibility for the consequences of using it, or 7 for whether it serves any particular purpose or works at all, unless he or 8 she says so in writing. Refer to the Aladdin Free Public License (the 9 "License") for full details. 10 11 Every copy of AFPL Ghostscript must include a copy of the License, normally 12 in a plain ASCII text file named PUBLIC. The License grants you the right 13 to copy, modify and redistribute AFPL Ghostscript, but only under certain 14 conditions described in the License. Among other things, the License 15 requires that the copyright notice and this notice be preserved on all 16 copies. 17 */ 18 19 /*$Id: iosdata.h,v 1.2 2000/09/19 19:00:46 lpd Exp $ */ 20 /* Generic operand stack API */ 21 22 #ifndef iosdata_INCLUDED 23 # define iosdata_INCLUDED 24 25 #include "isdata.h" 26 27 /* Define the operand stack structure. */ 28 /* Currently this is just a generic ref stack. */ 29 typedef struct op_stack_s { 30 31 ref_stack_t stack; /* the actual operand stack */ 32 33 } op_stack_t; 34 35 #define public_st_op_stack() /* in interp.c */\ 36 gs_public_st_suffix_add0(st_op_stack, op_stack_t, "op_stack_t",\ 37 op_stack_enum_ptrs, op_stack_reloc_ptrs, st_ref_stack) 38 #define st_op_stack_num_ptrs st_ref_stack_num_ptrs 39 40 #endif /* iosdata_INCLUDED */ 41