aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lauxlib.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lauxlib.h b/lauxlib.h
index 38fcdece..2a8ad26e 100644
--- a/lauxlib.h
+++ b/lauxlib.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.h,v 1.96 2009/06/18 18:59:58 roberto Exp roberto $ 2** $Id: lauxlib.h,v 1.97 2009/12/17 16:20:01 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*/
@@ -132,9 +132,6 @@ typedef struct luaL_Buffer {
132 ((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \ 132 ((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \
133 (*(B)->p++ = (char)(c))) 133 (*(B)->p++ = (char)(c)))
134 134
135/* compatibility only */
136#define luaL_putchar(B,c) luaL_addchar(B,c)
137
138#define luaL_addsize(B,n) ((B)->p += (n)) 135#define luaL_addsize(B,n) ((B)->p += (n))
139 136
140LUALIB_API void (luaL_buffinit) (lua_State *L, luaL_Buffer *B); 137LUALIB_API void (luaL_buffinit) (lua_State *L, luaL_Buffer *B);
@@ -165,9 +162,6 @@ LUALIB_API void (luaL_pushresult) (luaL_Buffer *B);
165#define luaL_reg luaL_Reg 162#define luaL_reg luaL_Reg
166 163
167 164
168/* compatibility with previous wrong spelling */
169#define luaL_typerror luaL_typeerror
170
171#endif 165#endif
172 166
173 167