aboutsummaryrefslogtreecommitdiff
path: root/lzio.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-06-07 11:51:10 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2013-06-07 11:51:10 -0300
commitc5069528e1da3d4651f167011404bcf388ba1c71 (patch)
treede0df5cad9b45a58fed1c60e7c31cc3eb5ded461 /lzio.h
parent6fb0b1135090b1e4543438c56ae3e444abb5477d (diff)
downloadlua-c5069528e1da3d4651f167011404bcf388ba1c71.tar.gz
lua-c5069528e1da3d4651f167011404bcf388ba1c71.tar.bz2
lua-c5069528e1da3d4651f167011404bcf388ba1c71.zip
details ('Type* id' -> 'Type *id')
Diffstat (limited to 'lzio.h')
-rw-r--r--lzio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lzio.h b/lzio.h
index e8406615..9890dce6 100644
--- a/lzio.h
+++ b/lzio.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lzio.h,v 1.25 2011/07/15 12:35:32 roberto Exp roberto $ 2** $Id: lzio.h,v 1.26 2011/07/15 12:48:03 roberto Exp roberto $
3** Buffered streams 3** Buffered streams
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -45,7 +45,7 @@ typedef struct Mbuffer {
45LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n); 45LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n);
46LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, 46LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader,
47 void *data); 47 void *data);
48LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ 48LUAI_FUNC size_t luaZ_read (ZIO* z, void *b, size_t n); /* read next n bytes */
49 49
50 50
51 51
@@ -55,7 +55,7 @@ struct Zio {
55 size_t n; /* bytes still unread */ 55 size_t n; /* bytes still unread */
56 const char *p; /* current position in buffer */ 56 const char *p; /* current position in buffer */
57 lua_Reader reader; /* reader function */ 57 lua_Reader reader; /* reader function */
58 void* data; /* additional data */ 58 void *data; /* additional data */
59 lua_State *L; /* Lua state (for reader) */ 59 lua_State *L; /* Lua state (for reader) */
60}; 60};
61 61