diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-14 15:12:35 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-04-14 15:12:35 -0300 |
commit | 870f61d2998cc9a998b9599997ae8975879d9314 (patch) | |
tree | e87398ff6bcf367357d7e6813332568247136a9c /ldo.c | |
parent | c845ec777a29e434da6ceee50de9d5a6dfa40ea7 (diff) | |
download | lua-github-870f61d2998cc9a998b9599997ae8975879d9314.tar.gz |
code redistribution
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 1.71 2000/03/30 17:19:48 roberto Exp roberto $ +** $Id: ldo.c,v 1.72 2000/03/30 20:55:50 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -326,17 +326,6 @@ static int do_main (lua_State *L, ZIO *z, int bin) { } -void luaD_gcIM (lua_State *L, const TObject *o) { - const TObject *im = luaT_getimbyObj(L, o, IM_GC); - if (ttype(im) != TAG_NIL) { - luaD_checkstack(L, 2); - *(L->top++) = *im; - *(L->top++) = *o; - luaD_call(L, L->top-2, 0); - } -} - - #define MAXFILENAME 260 /* maximum part of a file name kept */ int lua_dofile (lua_State *L, const char *filename) { |