blob: 911404892607c233a6b9db5da0784fc75e9693c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "internal.h"
byte
gz·getbyte(gz·Stream *s)
{
// NOTE: Can't call macro
byte b[2];
gzread(s, b, 1);
return b[0];
}
int
gz·ungetbyte(gz·Stream *s, byte c)
{
return gzungetc(c, s);
}
|