aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 9f75f741..eef34860 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -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))