From 779381fe9e8fc3dea184d5d9de0d3170e9b64772 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 10 Nov 2014 15:24:43 -0200 Subject: detail (comment) --- ltm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ltm.c b/ltm.c index f4625627..78d98dfc 100644 --- a/ltm.c +++ b/ltm.c @@ -1,5 +1,5 @@ /* -** $Id: ltm.c,v 2.30 2014/11/02 19:19:04 roberto Exp roberto $ +** $Id: ltm.c,v 2.31 2014/11/10 14:46:05 roberto Exp roberto $ ** Tag methods ** See Copyright Notice in lua.h */ @@ -86,7 +86,7 @@ const TValue *luaT_gettmbyobj (lua_State *L, const TValue *o, TMS event) { void luaT_callTM (lua_State *L, const TValue *f, const TValue *p1, const TValue *p2, TValue *p3, int hasres) { ptrdiff_t result = savestack(L, p3); - setobj2s(L, L->top++, f); /* push function */ + setobj2s(L, L->top++, f); /* push function (assume EXTRA_STACK) */ setobj2s(L, L->top++, p1); /* 1st argument */ setobj2s(L, L->top++, p2); /* 2nd argument */ if (!hasres) /* no result? 'p3' is third argument */ -- cgit v1.2.3-55-g6feb