aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-06 13:14:15 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-01-06 13:14:15 -0200
commitf3a68150001458ca6313d1c7fc0bf3a99af786ab (patch)
treea3271cd3c49fb9f2699a78a92c9c606bb35806ef /lauxlib.h
parent19f8c87375d7606fff12c0edf2eff39c1fcdca9b (diff)
downloadlua-f3a68150001458ca6313d1c7fc0bf3a99af786ab.tar.gz
lua-f3a68150001458ca6313d1c7fc0bf3a99af786ab.tar.bz2
lua-f3a68150001458ca6313d1c7fc0bf3a99af786ab.zip
compatibility code removed or moved to luaconf.h
Diffstat (limited to 'lauxlib.h')
-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