From eb3de8768a6b614597f7e5f018fc31a9f52441df Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 13 Jun 2002 10:44:50 -0300 Subject: `rawcall' -> `upcall' (unprotected call) --- ldblib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldblib.c') diff --git a/ldblib.c b/ldblib.c index 7fbff55d..6598a8f6 100644 --- a/ldblib.c +++ b/ldblib.c @@ -1,5 +1,5 @@ /* -** $Id: ldblib.c,v 1.55 2002/06/05 17:24:04 roberto Exp roberto $ +** $Id: ldblib.c,v 1.56 2002/06/06 12:40:36 roberto Exp roberto $ ** Interface from Lua to its debug API ** See Copyright Notice in lua.h */ @@ -117,7 +117,7 @@ static void hookf (lua_State *L, void *key) { lua_rawget(L, LUA_REGISTRYINDEX); if (lua_isfunction(L, -1)) { lua_pushvalue(L, -2); /* original argument (below function) */ - lua_rawcall(L, 1, 0); + lua_upcall(L, 1, 0); } else lua_pop(L, 1); /* pop result from gettable */ -- cgit v1.2.3-55-g6feb