File: emit.h

package info (click to toggle)
dvi2ps 3.2j-9
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,344 kB
  • ctags: 1,896
  • sloc: ansic: 12,767; sh: 938; makefile: 269
file content (15 lines) | stat: -rw-r--r-- 505 bytes parent folder | download | duplicates (13)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
			/* output a formatted string */
#define EMIT      (void)fprintf
			/* output a simple string */
#define EMITS(s)  (void)fputs((s),outfp)
			/* output an escaped octal number */
#define EMITO(c)  putoct(c)
			/* output a decimal integer */
#define EMITN(n)  putint(n)
			/* output a byte value in Hex */
#define EMITH(h)  (void)putc(*(digit+(((h)>>4)&0xF)),outfp),\
		  (void)putc(*(digit+((h)&0xF)),outfp)
			/* output a single character */
#define EMITC(c)  (void)putc((c),outfp)

extern char *digit;