diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-18 10:22:48 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-18 10:22:48 -0300 |
commit | 53f9499f7f7bf1fb41a37382ffef8a6796a528c1 (patch) | |
tree | 68aea55eb493117598b0f3d709eedcd1c425e90e /ldo.c | |
parent | 575befc394adc9714978a51e1b48ebb610bd3147 (diff) | |
download | lua-53f9499f7f7bf1fb41a37382ffef8a6796a528c1.tar.gz lua-53f9499f7f7bf1fb41a37382ffef8a6796a528c1.tar.bz2 lua-53f9499f7f7bf1fb41a37382ffef8a6796a528c1.zip |
"light C function" is a better name than "C-function pointer"
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 | } |