diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-06 13:14:15 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-01-06 13:14:15 -0200 |
| commit | f3a68150001458ca6313d1c7fc0bf3a99af786ab (patch) | |
| tree | a3271cd3c49fb9f2699a78a92c9c606bb35806ef | |
| parent | 19f8c87375d7606fff12c0edf2eff39c1fcdca9b (diff) | |
| download | lua-f3a68150001458ca6313d1c7fc0bf3a99af786ab.tar.gz lua-f3a68150001458ca6313d1c7fc0bf3a99af786ab.tar.bz2 lua-f3a68150001458ca6313d1c7fc0bf3a99af786ab.zip | |
compatibility code removed or moved to luaconf.h
| -rw-r--r-- | lauxlib.h | 8 |
1 files changed, 1 insertions, 7 deletions
| @@ -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 | ||
| 140 | LUALIB_API void (luaL_buffinit) (lua_State *L, luaL_Buffer *B); | 137 | LUALIB_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 | ||
