diff options
| author | Lua Team <team@lua.org> | 2011-07-04 12:00:00 +0000 |
|---|---|---|
| committer | repogen <> | 2011-07-04 12:00:00 +0000 |
| commit | cc3a4be74122bb2c002798696730bca68d36fcc9 (patch) | |
| tree | 819baa9883530ae9e805464c7d5771b5cbb9a663 /src/lbaselib.c | |
| parent | f6800181d1ead861262d8465110d80116e98ad6e (diff) | |
| download | lua-github-5.2.0-beta-rc5.tar.gz | |
Lua 5.2.0-beta-rc55.2.0-beta-rc5
Diffstat (limited to 'src/lbaselib.c')
| -rw-r--r-- | src/lbaselib.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lbaselib.c b/src/lbaselib.c index 91c21e31..8172f131 100644 --- a/src/lbaselib.c +++ b/src/lbaselib.c @@ -1,5 +1,5 @@ /* -** $Id: lbaselib.c,v 1.262 2011/06/16 14:12:24 roberto Exp $ +** $Id: lbaselib.c,v 1.263 2011/07/02 15:56:43 roberto Exp $ ** Basic library ** See Copyright Notice in lua.h */ @@ -120,8 +120,8 @@ static int luaB_setmetatable (lua_State *L) { } -static int luaB_deprecated (lua_State *L) { - return luaL_error(L, "deprecated function"); +static int luaB_removed (lua_State *L) { + return luaL_error(L, "removed function"); } @@ -359,7 +359,7 @@ static int luaB_load (lua_State *L) { #if defined(LUA_COMPAT_LOADSTRING) #define luaB_loadstring luaB_load #else -#define luaB_loadstring luaB_deprecated +#define luaB_loadstring luaB_removed #endif @@ -454,7 +454,7 @@ static const luaL_Reg base_funcs[] = { {"collectgarbage", luaB_collectgarbage}, {"dofile", luaB_dofile}, {"error", luaB_error}, - {"getfenv", luaB_deprecated}, + {"getfenv", luaB_removed}, {"getmetatable", luaB_getmetatable}, {"ipairs", luaB_ipairs}, {"loadfile", luaB_loadfile}, @@ -469,7 +469,7 @@ static const luaL_Reg base_funcs[] = { {"rawget", luaB_rawget}, {"rawset", luaB_rawset}, {"select", luaB_select}, - {"setfenv", luaB_deprecated}, + {"setfenv", luaB_removed}, {"setmetatable", luaB_setmetatable}, {"tonumber", luaB_tonumber}, {"tostring", luaB_tostring}, |
