summaryrefslogtreecommitdiff
path: root/src/lzio.h
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2014-03-21 12:00:00 +0000
committerrepogen <>2014-03-21 12:00:00 +0000
commit05a6ab2dd30e7707c7d5424b905eb93a1dd5c5b2 (patch)
treef24db6e4692bebf7031418ff9c3b51b345016023 /src/lzio.h
parent87cc247b6b22184fba47184c218a642ea7a49e96 (diff)
downloadlua-github-5.3.0-work2.tar.gz
Lua 5.3.0-work25.3.0-work2
Diffstat (limited to 'src/lzio.h')
-rw-r--r--src/lzio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lzio.h b/src/lzio.h
index aec0bc12..2ad163a6 100644
--- a/src/lzio.h
+++ b/src/lzio.h
@@ -1,5 +1,5 @@
/*
-** $Id: lzio.h,v 1.27 2013/06/07 14:51:10 roberto Exp $
+** $Id: lzio.h,v 1.28 2014/01/31 15:14:22 roberto Exp $
** Buffered streams
** See Copyright Notice in lua.h
*/
@@ -32,6 +32,7 @@ typedef struct Mbuffer {
#define luaZ_sizebuffer(buff) ((buff)->buffsize)
#define luaZ_bufflen(buff) ((buff)->n)
+#define luaZ_buffremove(buff,i) ((buff)->n -= (i))
#define luaZ_resetbuffer(buff) ((buff)->n = 0)