internal names

This commit is contained in:
Roberto Ierusalimschy
2002-08-05 15:45:02 -03:00
parent 4e23699aa6
commit 0b3d380f9f
3 changed files with 6 additions and 9 deletions

7
lzio.h
View File

@@ -1,5 +1,5 @@
/*
** $Id: lzio.h,v 1.11 2002/06/03 20:11:07 roberto Exp roberto $
** $Id: lzio.h,v 1.12 2002/06/06 12:40:22 roberto Exp roberto $
** Buffered streams
** See Copyright Notice in lua.h
*/
@@ -11,9 +11,6 @@
#include "lua.h"
/* For Lua only */
#define zread luaZ_zread
#define EOZ (-1) /* end of stream */
typedef struct zio ZIO;
@@ -25,7 +22,7 @@ typedef struct zio ZIO;
#define zname(z) ((z)->name)
void luaZ_init (ZIO *z, lua_Chunkreader reader, void *data, const char *name);
size_t luaZ_zread (ZIO* z, void* b, size_t n); /* read next n bytes */
size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */
int luaZ_lookahead (ZIO *z);