From 59f8e6fb7710e46539fb9bf63131b45012bf86ef Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy <roberto@inf.puc-rio.br> Date: Wed, 30 Dec 1998 15:26:49 -0200 Subject: details ("settable") --- lapi.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index 65cd28b4..d5c16369 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 1.28 1998/09/07 18:59:59 roberto Exp roberto $ +** $Id: lapi.c,v 1.29 1998/12/03 15:45:15 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -179,17 +179,15 @@ lua_Object lua_rawgettable (void) } -void lua_settable (void) -{ +void lua_settable (void) { checkCparams(3); - luaV_settable(L->stack.top-3, 1); + luaV_settable(L->stack.top-3, 0); } -void lua_rawsettable (void) -{ +void lua_rawsettable (void) { checkCparams(3); - luaV_settable(L->stack.top-3, 0); + luaV_rawsettable(L->stack.top-3); } -- cgit v1.2.3-55-g6feb