lua

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

commit 376e939ef62548ac64ab8f7b62051acd1ca452e3
parent 9d28e2b3e5bb7efe02358e2bbb730d732af69edf
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Mon, 19 Apr 2010 15:51:51 -0300

missing parentheses around 'luaL_pushresultsize' declaration

Diffstat:
Mlauxlib.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lauxlib.h b/lauxlib.h @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.102 2010/04/09 16:14:46 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.103 2010/04/14 15:14:21 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -140,7 +140,7 @@ LUALIB_API void (luaL_addlstring) (luaL_Buffer *B, const char *s, size_t l); LUALIB_API void (luaL_addstring) (luaL_Buffer *B, const char *s); LUALIB_API void (luaL_addvalue) (luaL_Buffer *B); LUALIB_API void (luaL_pushresult) (luaL_Buffer *B); -LUALIB_API void luaL_pushresultsize (luaL_Buffer *B, size_t sz); +LUALIB_API void (luaL_pushresultsize) (luaL_Buffer *B, size_t sz); LUALIB_API char *(luaL_buffinitsize) (lua_State *L, luaL_Buffer *B, size_t sz); #define luaL_prepbuffer(B) luaL_prepbuffsize(B, LUAL_BUFFERSIZE)