lua

A copy of the Lua development repository
Log | Files | Refs | README

commit c5069528e1da3d4651f167011404bcf388ba1c71
parent 6fb0b1135090b1e4543438c56ae3e444abb5477d
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Fri,  7 Jun 2013 11:50:45 -0300

details ('Type* id' -> 'Type *id')

Diffstat:
Mlstrlib.c | 6+++---
Mlua.h | 4++--
Mlzio.h | 6+++---
3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/lstrlib.c b/lstrlib.c @@ -1,5 +1,5 @@ /* -** $Id: lstrlib.c,v 1.178 2012/08/14 18:12:34 roberto Exp roberto $ +** $Id: lstrlib.c,v 1.179 2013/04/25 13:52:13 roberto Exp roberto $ ** Standard library for string operations and pattern-matching ** See Copyright Notice in lua.h */ @@ -164,9 +164,9 @@ static int str_char (lua_State *L) { } -static int writer (lua_State *L, const void* b, size_t size, void* B) { +static int writer (lua_State *L, const void *b, size_t size, void *B) { (void)L; - luaL_addlstring((luaL_Buffer*) B, (const char *)b, size); + luaL_addlstring((luaL_Buffer *) B, (const char *)b, size); return 0; } diff --git a/lua.h b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.288 2013/04/26 15:39:25 roberto Exp roberto $ +** $Id: lua.h,v 1.289 2013/05/14 16:00:11 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -61,7 +61,7 @@ typedef int (*lua_CFunction) (lua_State *L); */ typedef const char * (*lua_Reader) (lua_State *L, void *ud, size_t *sz); -typedef int (*lua_Writer) (lua_State *L, const void* p, size_t sz, void* ud); +typedef int (*lua_Writer) (lua_State *L, const void *p, size_t sz, void *ud); /* diff --git a/lzio.h b/lzio.h @@ -1,5 +1,5 @@ /* -** $Id: lzio.h,v 1.25 2011/07/15 12:35:32 roberto Exp roberto $ +** $Id: lzio.h,v 1.26 2011/07/15 12:48:03 roberto Exp roberto $ ** Buffered streams ** See Copyright Notice in lua.h */ @@ -45,7 +45,7 @@ typedef struct Mbuffer { LUAI_FUNC char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n); LUAI_FUNC void luaZ_init (lua_State *L, ZIO *z, lua_Reader reader, void *data); -LUAI_FUNC size_t luaZ_read (ZIO* z, void* b, size_t n); /* read next n bytes */ +LUAI_FUNC size_t luaZ_read (ZIO* z, void *b, size_t n); /* read next n bytes */ @@ -55,7 +55,7 @@ struct Zio { size_t n; /* bytes still unread */ const char *p; /* current position in buffer */ lua_Reader reader; /* reader function */ - void* data; /* additional data */ + void *data; /* additional data */ lua_State *L; /* Lua state (for reader) */ };