~ubuntu-branches/ubuntu/oneiric/ghostscript/oneiric

« back to all changes in this revision

Viewing changes to psi/istack.h

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2011-07-15 16:49:55 UTC
  • mfrom: (1.1.23 upstream)
  • Revision ID: james.westby@ubuntu.com-20110715164955-uga6qibao6kez05c
Tags: 9.04~dfsg~20110715-0ubuntu1
* New upstream release
   - GIT snapshot from Jult, 12 2011.
* debian/patches/020110406~a54df2d.patch,
  debian/patches/020110408~0791cc8.patch,
  debian/patches/020110408~507cbee.patch,
  debian/patches/020110411~4509a49.patch,
  debian/patches/020110412~78bb9a6.patch,
  debian/patches/020110418~a05ab8a.patch,
  debian/patches/020110420~20b6c78.patch,
  debian/patches/020110420~4ddefa2.patch: Removed upstream patches.
* debian/rules: Generate ABI version number (variable "abi") correctly,
  cutting off repackaging and pre-release parts.
* debian/rules: Added ./lcms2/ directory to DEB_UPSTREAM_REPACKAGE_EXCLUDES.
* debian/copyright: Added lcms2/* to the list of excluded files.
* debian/symbols.common: Updated for new upstream source. Applied patch
  which dpkg-gensymbols generated for debian/libgs9.symbols to this file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Copyright (C) 2001-2006 Artifex Software, Inc.
2
2
   All Rights Reserved.
3
 
  
 
3
 
4
4
   This software is provided AS-IS with no warranty, either express or
5
5
   implied.
6
6
 
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: istack.h 9043 2008-08-28 22:48:19Z giles $ */
 
14
/* $Id$ */
15
15
/* Definitions for expandable stacks of refs */
16
16
/* Requires iref.h */
17
17
 
61
61
 * structure iff params is not NULL.
62
62
 */
63
63
int ref_stack_init(ref_stack_t *pstack, const ref *pblock_array,
64
 
                   uint bot_guard, uint top_guard,
65
 
                   const ref *pguard_value, gs_ref_memory_t *mem,
66
 
                   ref_stack_params_t *params);
 
64
                   uint bot_guard, uint top_guard,
 
65
                   const ref *pguard_value, gs_ref_memory_t *mem,
 
66
                   ref_stack_params_t *params);
67
67
 
68
68
/* Set whether a stack is allowed to expand.  The initial value is true. */
69
69
void ref_stack_allow_expansion(ref_stack_t *pstack, bool expand);
70
70
 
71
71
/* Set the error codes for under- and overflow.  The initial values are -1. */
72
72
void ref_stack_set_error_codes(ref_stack_t *pstack, int underflow_error,
73
 
                               int overflow_error);
 
73
                               int overflow_error);
74
74
 
75
75
/*
76
76
 * Set the maximum number of elements allowed on a stack.
111
111
 * 'skip' elements below the top, into an array.  Return 0 or e_invalidaccess.
112
112
 */
113
113
int ref_stack_store_check(const ref_stack_t *pstack, ref *parray,
114
 
                          uint count, uint skip);
 
114
                          uint count, uint skip);
115
115
 
116
116
/*
117
117
 * Store the top 'count' elements of a stack, starting 'skip' elements below
124
124
typedef struct gs_dual_memory_s gs_dual_memory_t;
125
125
#endif
126
126
int ref_stack_store(const ref_stack_t *pstack, ref *parray, uint count,
127
 
                    uint skip, int age, bool check,
128
 
                    gs_dual_memory_t *idmem, client_name_t cname);
 
127
                    uint skip, int age, bool check,
 
128
                    gs_dual_memory_t *idmem, client_name_t cname);
129
129
 
130
130
/*
131
131
 * Pop the top N elements off a stack.