diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-26 11:16:05 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-26 11:16:05 -0300 |
commit | ef8263f81fdde2310ebb15c9a3fe5e954d57cab5 (patch) | |
tree | 8532d24bcfc4c59212616bdae1b25f087f1eb179 /ldo.c | |
parent | 2952bc5fc9cdc05ed061539cb7be26899513f004 (diff) | |
download | lua-ef8263f81fdde2310ebb15c9a3fe5e954d57cab5.tar.gz lua-ef8263f81fdde2310ebb15c9a3fe5e954d57cab5.tar.bz2 lua-ef8263f81fdde2310ebb15c9a3fe5e954d57cab5.zip |
better names for macros for tags and types.
rttype -> rawtt; ttyperaw -> withvariant; ttype -> ttypetag;
tnov -> ttype
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.194 2018/02/15 15:34:29 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.196 2018/02/17 19:29:29 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -453,7 +453,7 @@ void luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int narg1) { | |||
453 | void luaD_call (lua_State *L, StkId func, int nresults) { | 453 | void luaD_call (lua_State *L, StkId func, int nresults) { |
454 | lua_CFunction f; | 454 | lua_CFunction f; |
455 | TValue *funcv = s2v(func); | 455 | TValue *funcv = s2v(func); |
456 | switch (ttype(funcv)) { | 456 | switch (ttypetag(funcv)) { |
457 | case LUA_TCCL: /* C closure */ | 457 | case LUA_TCCL: /* C closure */ |
458 | f = clCvalue(funcv)->f; | 458 | f = clCvalue(funcv)->f; |
459 | goto Cfunc; | 459 | goto Cfunc; |