summaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-10-11 18:41:21 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-10-11 18:41:21 -0300
commit0c3ea96541525c5e347f1072ac2659f010e2ec34 (patch)
tree7d67e22b34a3422465c3dd7ca066fd44cd1aa643 /lbaselib.c
parentbabaa96eab3a5419889b393424db14377f581a69 (diff)
downloadlua-0c3ea96541525c5e347f1072ac2659f010e2ec34.tar.gz
lua-0c3ea96541525c5e347f1072ac2659f010e2ec34.tar.bz2
lua-0c3ea96541525c5e347f1072ac2659f010e2ec34.zip
no more copytagmethod function
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 8fe44d56..62695c04 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -198,10 +198,6 @@ static int luaB_newtype (lua_State *L) {
198 return 1; 198 return 1;
199} 199}
200 200
201static int luaB_copytagmethods (lua_State *L) {
202 lua_pushnumber(L, lua_copytagmethods(L, gettag(L, 1), gettag(L, 2)));
203 return 1;
204}
205 201
206static int luaB_globals (lua_State *L) { 202static int luaB_globals (lua_State *L) {
207 lua_getglobals(L); /* value to be returned */ 203 lua_getglobals(L); /* value to be returned */
@@ -697,7 +693,6 @@ static const luaL_reg base_funcs[] = {
697 {l_s(LUA_ERRORMESSAGE), luaB__ERRORMESSAGE}, 693 {l_s(LUA_ERRORMESSAGE), luaB__ERRORMESSAGE},
698 {l_s("call"), luaB_call}, 694 {l_s("call"), luaB_call},
699 {l_s("collectgarbage"), luaB_collectgarbage}, 695 {l_s("collectgarbage"), luaB_collectgarbage},
700 {l_s("copytagmethods"), luaB_copytagmethods},
701 {l_s("dofile"), luaB_dofile}, 696 {l_s("dofile"), luaB_dofile},
702 {l_s("dostring"), luaB_dostring}, 697 {l_s("dostring"), luaB_dostring},
703 {l_s("error"), luaB_error}, 698 {l_s("error"), luaB_error},