no more 'zungetc' (better not to read next char)

This commit is contained in:
Roberto Ierusalimschy
2011-07-15 09:48:03 -03:00
parent fd5e810e08
commit 559bb554c9
2 changed files with 20 additions and 22 deletions

4
lzio.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lzio.h,v 1.24 2011/02/23 13:13:10 roberto Exp roberto $
** $Id: lzio.h,v 1.25 2011/07/15 12:35:32 roberto Exp roberto $
** Buffered streams
** See Copyright Notice in lua.h
*/
@@ -19,8 +19,6 @@ typedef struct Zio ZIO;
#define zgetc(z) (((z)->n--)>0 ? cast_uchar(*(z)->p++) : luaZ_fill(z))
#define zungetc(z) ((z)->n++, (z)->p--)
typedef struct Mbuffer {
char *buffer;