lua

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

commit f3a68150001458ca6313d1c7fc0bf3a99af786ab
parent 19f8c87375d7606fff12c0edf2eff39c1fcdca9b
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed,  6 Jan 2010 13:13:51 -0200

compatibility code removed or moved to luaconf.h

Diffstat:
Mlauxlib.h | 8+-------
1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/lauxlib.h b/lauxlib.h @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.96 2009/06/18 18:59:58 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.97 2009/12/17 16:20:01 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -132,9 +132,6 @@ typedef struct luaL_Buffer { ((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \ (*(B)->p++ = (char)(c))) -/* compatibility only */ -#define luaL_putchar(B,c) luaL_addchar(B,c) - #define luaL_addsize(B,n) ((B)->p += (n)) LUALIB_API void (luaL_buffinit) (lua_State *L, luaL_Buffer *B); @@ -165,9 +162,6 @@ LUALIB_API void (luaL_pushresult) (luaL_Buffer *B); #define luaL_reg luaL_Reg -/* compatibility with previous wrong spelling */ -#define luaL_typerror luaL_typeerror - #endif