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) --- lobject.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index 10dd7529..f98eb812 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.104 2014/10/25 11:50:46 roberto Exp roberto $ +** $Id: lobject.h,v 2.105 2014/12/19 13:36:32 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -473,7 +473,7 @@ typedef union TKey { /* copy a value into a key without messing up field 'next' */ -#define setkey(L,key,obj) \ +#define setnodekey(L,key,obj) \ { TKey *k_=(key); const TValue *io_=(obj); \ k_->nk.value_ = io_->value_; k_->nk.tt_ = io_->tt_; \ (void)L; checkliveness(G(L),io_); } -- cgit v1.2.3-55-g6feb