~ubuntu-branches/ubuntu/hardy/ghostscript/hardy

« back to all changes in this revision

Viewing changes to src/zdict.c

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2007-11-22 12:17:43 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20071122121743-cd70s3ypq0r243mp
Tags: 8.61.dfsg.1-0ubtuntu1
* New upstream release
  o Final 8.61 release
* debian/patches/09_ijs_krgb_support.dpatch: Adapted to upstream changes.
* debian/rules: Updated CUPS-related variables for "make install" calls.
* debian/rules: Remove /usr/include/ghostscript from the ghostscript
  package, they go into lings-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
   San Rafael, CA  94903, U.S.A., +1(415)492-9861, for further information.
12
12
*/
13
13
 
14
 
/* $Id: zdict.c 8022 2007-06-05 22:23:38Z giles $ */
 
14
/* $Id: zdict.c 8250 2007-09-25 13:31:24Z giles $ */
15
15
/* Dictionary operators */
16
16
#include "ghost.h"
17
17
#include "oper.h"
40
40
}
41
41
 
42
42
/* <dict> maxlength <int> */
43
 
private int
 
43
static int
44
44
zmaxlength(i_ctx_t *i_ctx_p)
45
45
{
46
46
    os_ptr op = osp;
161
161
}
162
162
 
163
163
/* <key> load <value> */
164
 
private int
 
164
static int
165
165
zload(i_ctx_t *i_ctx_p)
166
166
{
167
167
    os_ptr op = osp;
203
203
 
204
204
/* <dict> <key> .undef - */
205
205
/* <dict> <key> undef - */
206
 
private int
 
206
static int
207
207
zundef(i_ctx_t *i_ctx_p)
208
208
{
209
209
    os_ptr op = osp;
221
221
}
222
222
 
223
223
/* <dict> <key> known <bool> */
224
 
private int
 
224
static int
225
225
zknown(i_ctx_t *i_ctx_p)
226
226
{
227
227
    os_ptr op = osp;
310
310
}
311
311
 
312
312
/* - currentdict <dict> */
313
 
private int
 
313
static int
314
314
zcurrentdict(i_ctx_t *i_ctx_p)
315
315
{
316
316
    os_ptr op = osp;
321
321
}
322
322
 
323
323
/* - countdictstack <int> */
324
 
private int
 
324
static int
325
325
zcountdictstack(i_ctx_t *i_ctx_p)
326
326
{
327
327
    os_ptr op = osp;
335
335
}
336
336
 
337
337
/* <array> dictstack <subarray> */
338
 
private int
 
338
static int
339
339
zdictstack(i_ctx_t *i_ctx_p)
340
340
{
341
341
    os_ptr op = osp;
354
354
}
355
355
 
356
356
/* - cleardictstack - */
357
 
private int
 
357
static int
358
358
zcleardictstack(i_ctx_t *i_ctx_p)
359
359
{
360
360
    while (zend(i_ctx_p) >= 0)
366
366
 
367
367
/* -mark- <key0> <value0> <key1> <value1> ... .dicttomark <dict> */
368
368
/* This is the Level 2 >> operator. */
369
 
private int
 
369
static int
370
370
zdicttomark(i_ctx_t *i_ctx_p)
371
371
{
372
372
    uint count2 = ref_stack_counttomark(&o_stack);
404
404
 * writable.  Hence it is in the same category of "dangerous" operators as
405
405
 * .forceput and .forceundef.
406
406
 */
407
 
private int
 
407
static int
408
408
zforcecopynew(i_ctx_t *i_ctx_p)
409
409
{
410
410
    os_ptr op = osp;
432
432
 * Like .forceput, it is meant to be used only in a few special situations,
433
433
 * and should not be accessible by name after initialization.
434
434
 */
435
 
private int
 
435
static int
436
436
zforceundef(i_ctx_t *i_ctx_p)
437
437
{
438
438
    os_ptr op = osp;
446
446
 
447
447
/* <dict> <key> .knownget <value> true */
448
448
/* <dict> <key> .knownget false */
449
 
private int
 
449
static int
450
450
zknownget(i_ctx_t *i_ctx_p)
451
451
{
452
452
    os_ptr op = osp;
466
466
}
467
467
 
468
468
/* <dict> <key> .knownundef <bool> */
469
 
private int
 
469
static int
470
470
zknownundef(i_ctx_t *i_ctx_p)
471
471
{
472
472
    os_ptr op = osp;
482
482
}
483
483
 
484
484
/* <dict> <int> .setmaxlength - */
485
 
private int
 
485
static int
486
486
zsetmaxlength(i_ctx_t *i_ctx_p)
487
487
{
488
488
    os_ptr op = osp;