diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-01-05 11:52:37 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2015-01-05 11:52:37 -0200 |
| commit | 3c55790ebee7148281cd00f44aa293e456b4da6d (patch) | |
| tree | d802bca3c72d90f7b40463aa2993befd4c404214 /lobject.h | |
| parent | 0adfa773b96d815cab3f17afd7bcafd3eeee7c49 (diff) | |
| download | lua-3c55790ebee7148281cd00f44aa293e456b4da6d.tar.gz lua-3c55790ebee7148281cd00f44aa293e456b4da6d.tar.bz2 lua-3c55790ebee7148281cd00f44aa293e456b4da6d.zip | |
'setkey' -> 'setnodekey' (to avoid conflicts with POSIX)v5.3.0
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lobject.h,v 2.104 2014/10/25 11:50:46 roberto Exp roberto $ | 2 | ** $Id: lobject.h,v 2.105 2014/12/19 13:36:32 roberto Exp roberto $ |
| 3 | ** Type definitions for Lua objects | 3 | ** Type definitions for Lua objects |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -473,7 +473,7 @@ typedef union TKey { | |||
| 473 | 473 | ||
| 474 | 474 | ||
| 475 | /* copy a value into a key without messing up field 'next' */ | 475 | /* copy a value into a key without messing up field 'next' */ |
| 476 | #define setkey(L,key,obj) \ | 476 | #define setnodekey(L,key,obj) \ |
| 477 | { TKey *k_=(key); const TValue *io_=(obj); \ | 477 | { TKey *k_=(key); const TValue *io_=(obj); \ |
| 478 | k_->nk.value_ = io_->value_; k_->nk.tt_ = io_->tt_; \ | 478 | k_->nk.value_ = io_->value_; k_->nk.tt_ = io_->tt_; \ |
| 479 | (void)L; checkliveness(G(L),io_); } | 479 | (void)L; checkliveness(G(L),io_); } |
