|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T d
Length: 1459 (0x5b3)
Types: TextFile
Names: »debug.c«
└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
└─⟦526ad3590⟧ »EUUGD11/gnu-31mar87/X.V10.R4.tar.Z«
└─⟦2109abc41⟧
└─⟦this⟧ »./X.V10R4/libis/debug.c«
/*
* $Source: /u1/X/libis/RCS/debug.c,v $
* $Header: debug.c,v 1.1 86/11/17 14:33:35 swick Rel $
*/
#ifndef lint
static char *rcsid_debug_c = "$Header: debug.c,v 1.1 86/11/17 14:33:35 swick Rel $";
#endif lint
int isi_debug_jnk; /* shuts up ranlib complaints*/
#ifdef DEBUG
#include "is-copyright.h"
/*
* debug.c various debugging printf's
*
* printf_pixmap
* printf_bitmap
* printf_clip
*
* Copyright (c) 1986, Integrated Solutions, Inc.
*/
#include "Xis.h"
/* debug is used to indicate which debug printf's are turned on. */
unsigned long debug = ( /* enabled printf's */
D_None);
/* disabled printf's
D_Color |
D_PixFill |
D_Pixmaps |
D_TileFill |
D_Bitmaps |
D_CopyArea |
D_Cursor |
D_DrawCurve |
D_Font |
D_FontPixmap |
D_PixFill_data |
D_Text |
D_TileFill_data |
*/
printf_pixmap(name, p)
char *name;
PIXMAP *p;
{
printf("%s=0x%x: width=%d, height=%d, refcnt=%d, tile=%d, kind=0x%x, data=0x%x\n",
name, p, p->width, p->height, p->refcnt, p->tile, p->kind, p->data);
}
printf_bitmap(name, p)
char *name;
BITMAP *p;
{
printf("%s=0x%x: width=%d, height=%d, refcnt=%d, kind=0x%x, data=0x%x\n",
name, p, p->width, p->height, p->refcnt, p->kind, p->data);
}
printf_clip(name, clip)
char *name;
CLIP clip;
{
printf("%s left=%d, top=%d, width=%d, height=%d\n",
name, clip.left, clip.top, clip.width, clip.height);
}
#endif DEBUG