aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/lapi.c b/lapi.c
index c4d14652..6685abdc 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.76 2000/03/27 20:10:21 roberto Exp roberto $ 2** $Id: lapi.c,v 1.77 2000/03/29 20:19:20 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -102,15 +102,6 @@ lua_Object lua_settagmethod (lua_State *L, int tag, const char *event) {
102} 102}
103 103
104 104
105lua_Object lua_seterrormethod (lua_State *L) {
106 lua_Object temp;
107 luaA_checkCargs(L, 1);
108 temp = lua_getglobal(L, "_ERRORMESSAGE");
109 lua_setglobal(L, "_ERRORMESSAGE");
110 return temp;
111}
112
113
114lua_Object lua_gettable (lua_State *L) { 105lua_Object lua_gettable (lua_State *L) {
115 luaA_checkCargs(L, 2); 106 luaA_checkCargs(L, 2);
116 luaV_gettable(L, L->top--); 107 luaV_gettable(L, L->top--);