diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-29 10:49:57 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2013-08-29 10:49:57 -0300 |
commit | 26629d0af16e8e7938cfb2f8c4c0ad70a027442c (patch) | |
tree | c9b114a3608e274460426ad4fe91e745f8416baf /ltable.c | |
parent | b5e75fde4ec36b7db0a02cc8a353f8d3a769cfed (diff) | |
download | lua-26629d0af16e8e7938cfb2f8c4c0ad70a027442c.tar.gz lua-26629d0af16e8e7938cfb2f8c4c0ad70a027442c.tar.bz2 lua-26629d0af16e8e7938cfb2f8c4c0ad70a027442c.zip |
details (a few casts moved from macro invocation to macro definition)
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ltable.c,v 2.80 2013/08/27 20:04:00 roberto Exp roberto $ | 2 | ** $Id: ltable.c,v 2.81 2013/08/28 18:30:26 roberto Exp roberto $ |
3 | ** Lua tables (hash) | 3 | ** Lua tables (hash) |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -461,7 +461,7 @@ TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key) { | |||
461 | } | 461 | } |
462 | } | 462 | } |
463 | setobj2t(L, gkey(mp), key); | 463 | setobj2t(L, gkey(mp), key); |
464 | luaC_barrierback(L, obj2gco(t), key); | 464 | luaC_barrierback(L, t, key); |
465 | lua_assert(ttisnil(gval(mp))); | 465 | lua_assert(ttisnil(gval(mp))); |
466 | return gval(mp); | 466 | return gval(mp); |
467 | } | 467 | } |