putbyte --> C_putbyte
This commit is contained in:
parent
d3031b22b7
commit
329cc47ca6
|
@ -8,12 +8,12 @@
|
||||||
#include <system.h>
|
#include <system.h>
|
||||||
#include "em_private.h"
|
#include "em_private.h"
|
||||||
|
|
||||||
#define put8(x) putbyte(x)
|
#define put8(x) C_putbyte(x)
|
||||||
#define put16(x) put8((int) x); put8((int) (x >> 8))
|
#define put16(x) put8((int) x); put8((int) (x >> 8))
|
||||||
#define put32(x) put16((int) x); put16((int) (x >> 16))
|
#define put32(x) put16((int) x); put16((int) (x >> 16))
|
||||||
|
|
||||||
/*
|
/*
|
||||||
putbyte(), C_open() and C_close() are the basic routines for
|
C_putbyte(), C_open() and C_close() are the basic routines for
|
||||||
respectively write on, open and close the output file.
|
respectively write on, open and close the output file.
|
||||||
The put_*() functions serve as formatting functions of the
|
The put_*() functions serve as formatting functions of the
|
||||||
various EM language constructs.
|
various EM language constructs.
|
||||||
|
@ -38,13 +38,13 @@ flush() {
|
||||||
|
|
||||||
#define Xputbyte(c) if (opp == &obuf[BUFSIZ]) flush(); *opp++ = (c)
|
#define Xputbyte(c) if (opp == &obuf[BUFSIZ]) flush(); *opp++ = (c)
|
||||||
|
|
||||||
putbyte(b)
|
C_putbyte(b)
|
||||||
int b;
|
int b;
|
||||||
{
|
{
|
||||||
Xputbyte(b);
|
Xputbyte(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define putbyte(c) Xputbyte(c)
|
#define C_putbyte(c) Xputbyte(c)
|
||||||
|
|
||||||
C_init(w, p)
|
C_init(w, p)
|
||||||
arith w, p;
|
arith w, p;
|
||||||
|
|
|
@ -37,6 +37,6 @@
|
||||||
#define NL()
|
#define NL()
|
||||||
#define CILB(x) CST((arith) x)
|
#define CILB(x) CST((arith) x)
|
||||||
|
|
||||||
#define put_cend() putbyte(sp_cend)
|
#define put_cend() C_putbyte(sp_cend)
|
||||||
#define put_op(x) putbyte(x)
|
#define put_op(x) C_putbyte(x)
|
||||||
#define put_ps(x) putbyte(x)
|
#define put_ps(x) C_putbyte(x)
|
||||||
|
|
Loading…
Reference in a new issue