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

« back to all changes in this revision

Viewing changes to psi/store.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: store.h 9323 2009-01-04 20:20:47Z till $ */
 
14
/* $Id$ */
15
15
/* Assignment-related macros */
16
16
 
17
17
#ifndef store_INCLUDED
72
72
 * if not too bad. And we're using GCC anyways on Debian.
73
73
 */
74
74
#define ref_assign_inline(pto,pfrom)\
75
 
        (*(pto) = *(pfrom))
 
75
        (*(pto) = *(pfrom))
76
76
#ifdef __TURBOC__
77
 
        /*
78
 
         * Move the data in two 32-bit chunks, because
79
 
         * otherwise the compiler calls SCOPY@.
80
 
         * The cast to void is to discourage the compiler from
81
 
         * wanting to deliver the value of the expression.
82
 
         */
 
77
        /*
 
78
         * Move the data in two 32-bit chunks, because
 
79
         * otherwise the compiler calls SCOPY@.
 
80
         * The cast to void is to discourage the compiler from
 
81
         * wanting to deliver the value of the expression.
 
82
         */
83
83
#  define ref_assign(pto,pfrom)\
84
 
        discard(ref_assign_inline(pto, pfrom))
 
84
        discard(ref_assign_inline(pto, pfrom))
85
85
#else
86
 
        /*
87
 
         * Trust the compiler and hope for the best.
88
 
         * The MIPS compiler doesn't like the cast to void.
89
 
         */
 
86
        /*
 
87
         * Trust the compiler and hope for the best.
 
88
         * The MIPS compiler doesn't like the cast to void.
 
89
         */
90
90
#  define ref_assign(pto,pfrom)\
91
 
        (*(pto) = *(pfrom))
 
91
        (*(pto) = *(pfrom))
92
92
#endif
93
93
 
94
94
#define ialloc_new_mask (idmemory->new_mask)
107
107
  alloc_save_change(idmemory, pcont, (ref_packed *)(pto), cname)
108
108
#define ref_save_in(mem, pcont, pto, cname)\
109
109
  discard((ref_must_save_in(mem, pto) ?\
110
 
           ref_do_save_in(mem, pcont, pto, cname) : 0))
 
110
           ref_do_save_in(mem, pcont, pto, cname) : 0))
111
111
#define ref_save(pcont, pto, cname)\
112
112
  discard((ref_must_save(pto) ? ref_do_save(pcont, pto, cname) : 0))
113
113
#define ref_mark_new_in(mmem,pto)\
143
143
#define DEADBEEF ((int)(((uint)0xdead << 16) | 0xbeef))
144
144
#  define and_fill_sv(pref)\
145
145
    , (gs_debug['$'] ? (r_set_size(pref, 0xfeed),\
146
 
                        (pref)->value.intval = DEADBEEF) : 0)
 
146
                        (pref)->value.intval = DEADBEEF) : 0)
147
147
#else /* !DEBUG */
148
148
#  define and_fill_s(pref)      /* */
149
149
#  define and_fill_sv(pref)     /* */