From 8bcf6228765e56be19feb90c8805cc2fb2223188 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 6 Jun 2000 13:31:41 -0300 Subject: new signature for `luaH_set' --- lapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lapi.c') diff --git a/lapi.c b/lapi.c index fcc0ba51..a660aae2 100644 --- a/lapi.c +++ b/lapi.c @@ -1,5 +1,5 @@ /* -** $Id: lapi.c,v 1.81 2000/05/24 13:54:49 roberto Exp roberto $ +** $Id: lapi.c,v 1.82 2000/05/26 19:17:57 roberto Exp roberto $ ** Lua API ** See Copyright Notice in lua.h */ @@ -144,7 +144,7 @@ void lua_rawset (lua_State *L) { luaA_checkCargs(L, 3); if (ttype(L->top-3) != TAG_TABLE) lua_error(L, "indexed expression not a table"); - luaH_set(L, avalue(L->top-3), L->top-2, L->top-1); + *luaH_set(L, avalue(L->top-3), L->top-2) = *(L->top-1); L->top -= 3; } -- cgit v1.2.3-55-g6feb