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

« back to all changes in this revision

Viewing changes to src/idebug.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: idebug.c 8022 2007-06-05 22:23:38Z giles $ */
 
14
/* $Id: idebug.c 8250 2007-09-25 13:31:24Z giles $ */
15
15
/* Debugging support for Ghostscript interpreter */
16
16
/* This file must always be compiled with DEBUG set. */
17
17
#undef DEBUG
55
55
}
56
56
 
57
57
/* Print a ref. */
58
 
private void
 
58
static void
59
59
debug_print_full_ref(const gs_memory_t *mem, const ref * pref)
60
60
{
61
61
    uint size = r_size(pref);
147
147
            dprintf1("type 0x%x", r_type(pref));
148
148
    }
149
149
}
150
 
private void
 
150
static void
151
151
debug_print_packed_ref(const gs_memory_t *mem, const ref_packed *pref)
152
152
{
153
153
    ushort elt = *pref & packed_value_mask;
191
191
}
192
192
 
193
193
/* Dump one ref. */
194
 
private void print_ref_data(const gs_memory_t *mem, const ref *);
 
194
static void print_ref_data(const gs_memory_t *mem, const ref *);
195
195
void
196
196
debug_dump_one_ref(const gs_memory_t *mem, const ref * p)
197
197
{
216
216
    print_ref_data(mem, p);
217
217
    dflush();
218
218
}
219
 
private void
 
219
static void
220
220
print_ref_data(const gs_memory_t *mem, const ref *p)
221
221
{
222
222
#define BUF_SIZE 30