diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-17 16:23:12 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-17 16:23:12 -0300 |
| commit | 62824137d65aec32654f0cd91f900b1d470fa959 (patch) | |
| tree | 4ff631e648d4172d7aa958f30085fcb5bc6c880a /lapi.c | |
| parent | 71219ccc3905931c5afb2646ff8c5de4145428f5 (diff) | |
| download | lua-62824137d65aec32654f0cd91f900b1d470fa959.tar.gz lua-62824137d65aec32654f0cd91f900b1d470fa959.tar.bz2 lua-62824137d65aec32654f0cd91f900b1d470fa959.zip | |
no more `seterrormethod' function
Diffstat (limited to 'lapi.c')
| -rw-r--r-- | lapi.c | 11 |
1 files changed, 1 insertions, 10 deletions
| @@ -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 | ||
| 105 | lua_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 | |||
| 114 | lua_Object lua_gettable (lua_State *L) { | 105 | lua_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--); |
