diff options
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.84 2010/04/13 20:48:12 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.85 2010/04/18 12:41:35 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 | */ |
| @@ -300,7 +300,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) { | |||
| 300 | func = tryfuncTM(L, func); /* check the `function' tag method */ | 300 | func = tryfuncTM(L, func); /* check the `function' tag method */ |
| 301 | funcr = savestack(L, func); | 301 | funcr = savestack(L, func); |
| 302 | L->ci->nresults = nresults; | 302 | L->ci->nresults = nresults; |
| 303 | if (ttiscfp(func)) { /* C function pointer? */ | 303 | if (ttislcf(func)) { /* light C function? */ |
| 304 | f = fvalue(func); /* get it */ | 304 | f = fvalue(func); /* get it */ |
| 305 | goto isCfunc; /* go to call it */ | 305 | goto isCfunc; /* go to call it */ |
| 306 | } | 306 | } |
