diff options
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 1.71 2000/03/30 17:19:48 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 1.72 2000/03/30 20:55:50 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -326,17 +326,6 @@ static int do_main (lua_State *L, ZIO *z, int bin) { | |||
326 | } | 326 | } |
327 | 327 | ||
328 | 328 | ||
329 | void luaD_gcIM (lua_State *L, const TObject *o) { | ||
330 | const TObject *im = luaT_getimbyObj(L, o, IM_GC); | ||
331 | if (ttype(im) != TAG_NIL) { | ||
332 | luaD_checkstack(L, 2); | ||
333 | *(L->top++) = *im; | ||
334 | *(L->top++) = *o; | ||
335 | luaD_call(L, L->top-2, 0); | ||
336 | } | ||
337 | } | ||
338 | |||
339 | |||
340 | #define MAXFILENAME 260 /* maximum part of a file name kept */ | 329 | #define MAXFILENAME 260 /* maximum part of a file name kept */ |
341 | 330 | ||
342 | int lua_dofile (lua_State *L, const char *filename) { | 331 | int lua_dofile (lua_State *L, const char *filename) { |