From 88607acc2c41c2bace172b78012d2ce9abf05766 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 26 Jun 2002 13:37:23 -0300 Subject: details --- lapi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index b0f3e52b..84b3fe72 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 1.201 2002/06/20 20:41:46 roberto Exp roberto $ +** $Id: lapi.c,v 1.202 2002/06/24 13:08:45 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -426,7 +426,7 @@ LUA_API void lua_gettable (lua_State *L, int index) { const TObject *v; lua_lock(L); t = luaA_index(L, index); - v = luaV_gettable(L, t, L->top-1); + v = luaV_gettable(L, t, L->top-1, 0); setobj(L->top - 1, v); lua_unlock(L); } @@ -597,7 +597,7 @@ LUA_API int lua_setglobals (lua_State *L, int level) { ** `load' and `call' functions (run Lua code) */ -LUA_API void lua_upcall (lua_State *L, int nargs, int nresults) { +LUA_API void lua_call (lua_State *L, int nargs, int nresults) { StkId func; lua_lock(L); api_checknelems(L, nargs+1); -- cgit v1.2.3-55-g6feb