diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-07-21 21:59:36 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-07-21 21:59:36 -0300 |
commit | 45b173cbf89597123267a69bace778cf498d6c98 (patch) | |
tree | 561573acd810544ba8c743df0335e5fbe64f302c /lauxlib.h | |
parent | a94cba4b88a940cba7a35244b8a1b393f33a905c (diff) | |
download | lua-45b173cbf89597123267a69bace778cf498d6c98.tar.gz lua-45b173cbf89597123267a69bace778cf498d6c98.tar.bz2 lua-45b173cbf89597123267a69bace778cf498d6c98.zip |
warnings/details
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.34 2001/02/23 17:17:25 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.35 2001/04/06 21:17:37 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -85,7 +85,7 @@ typedef struct luaL_Buffer { | |||
85 | } luaL_Buffer; | 85 | } luaL_Buffer; |
86 | 86 | ||
87 | #define luaL_putchar(B,c) \ | 87 | #define luaL_putchar(B,c) \ |
88 | ((void)((B)->p < &(B)->buffer[LUAL_BUFFERSIZE] || luaL_prepbuffer(B)), \ | 88 | ((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \ |
89 | (*(B)->p++ = (lua_char)(c))) | 89 | (*(B)->p++ = (lua_char)(c))) |
90 | 90 | ||
91 | #define luaL_addsize(B,n) ((B)->p += (n)) | 91 | #define luaL_addsize(B,n) ((B)->p += (n)) |