compatibility code removed or moved to luaconf.h
This commit is contained in:
@@ -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
|
** Auxiliary functions for building Lua libraries
|
||||||
** See Copyright Notice in lua.h
|
** See Copyright Notice in lua.h
|
||||||
*/
|
*/
|
||||||
@@ -132,9 +132,6 @@ typedef struct luaL_Buffer {
|
|||||||
((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \
|
((void)((B)->p < ((B)->buffer+LUAL_BUFFERSIZE) || luaL_prepbuffer(B)), \
|
||||||
(*(B)->p++ = (char)(c)))
|
(*(B)->p++ = (char)(c)))
|
||||||
|
|
||||||
/* compatibility only */
|
|
||||||
#define luaL_putchar(B,c) luaL_addchar(B,c)
|
|
||||||
|
|
||||||
#define luaL_addsize(B,n) ((B)->p += (n))
|
#define luaL_addsize(B,n) ((B)->p += (n))
|
||||||
|
|
||||||
LUALIB_API void (luaL_buffinit) (lua_State *L, luaL_Buffer *B);
|
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
|
#define luaL_reg luaL_Reg
|
||||||
|
|
||||||
|
|
||||||
/* compatibility with previous wrong spelling */
|
|
||||||
#define luaL_typerror luaL_typeerror
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user