diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-03-31 15:37:52 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2014-03-31 15:37:52 -0300 |
| commit | ea69f17d989784f75433eb69de0ad2dbe6c7195a (patch) | |
| tree | 472bda50125b58eeba88c09fbea415f2f7ba67c8 /lvm.c | |
| parent | 420cc62facc5b49d0aebfb9be7ddfe911d77ff97 (diff) | |
| download | lua-ea69f17d989784f75433eb69de0ad2dbe6c7195a.tar.gz lua-ea69f17d989784f75433eb69de0ad2dbe6c7195a.tar.bz2 lua-ea69f17d989784f75433eb69de0ad2dbe6c7195a.zip | |
macro 'tostring' is used only by 'luaV_concat'
Diffstat (limited to 'lvm.c')
| -rw-r--r-- | lvm.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lvm.c,v 2.189 2014/03/14 16:54:08 roberto Exp roberto $ | 2 | ** $Id: lvm.c,v 2.190 2014/03/15 12:29:48 roberto Exp roberto $ |
| 3 | ** Lua virtual machine | 3 | ** Lua virtual machine |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -257,6 +257,8 @@ int luaV_equalobj (lua_State *L, const TValue *t1, const TValue *t2) { | |||
| 257 | } | 257 | } |
| 258 | 258 | ||
| 259 | 259 | ||
| 260 | #define tostring(L,o) (ttisstring(o) || (luaV_tostring(L, o))) | ||
| 261 | |||
| 260 | void luaV_concat (lua_State *L, int total) { | 262 | void luaV_concat (lua_State *L, int total) { |
| 261 | lua_assert(total >= 2); | 263 | lua_assert(total >= 2); |
| 262 | do { | 264 | do { |
