From 3c55790ebee7148281cd00f44aa293e456b4da6d Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 5 Jan 2015 11:52:37 -0200 Subject: 'setkey' -> 'setnodekey' (to avoid conflicts with POSIX) --- ltable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ltable.c') diff --git a/ltable.c b/ltable.c index 131a9aa2..563ae6de 100644 --- a/ltable.c +++ b/ltable.c @@ -1,5 +1,5 @@ /* -** $Id: ltable.c,v 2.98 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: ltable.c,v 2.99 2014/11/02 19:19:04 roberto Exp roberto $ ** Lua tables (hash) ** See Copyright Notice in lua.h */ @@ -484,7 +484,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { mp = f; } } - setkey(L, &mp->i_key, key); + setnodekey(L, &mp->i_key, key); luaC_barrierback(L, t, key); lua_assert(ttisnil(gval(mp))); return gval(mp); -- cgit v1.2.3-55-g6feb