From 53f9499f7f7bf1fb41a37382ffef8a6796a528c1 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 18 Apr 2010 10:22:48 -0300 Subject: "light C function" is a better name than "C-function pointer" --- ldo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldo.c') diff --git a/ldo.c b/ldo.c index ef7dda8a..73d65371 100644 --- a/ldo.c +++ b/ldo.c @@ -1,5 +1,5 @@ /* -** $Id: ldo.c,v 2.84 2010/04/13 20:48:12 roberto Exp roberto $ +** $Id: ldo.c,v 2.85 2010/04/18 12:41:35 roberto Exp roberto $ ** Stack and Call structure of Lua ** See Copyright Notice in lua.h */ @@ -300,7 +300,7 @@ int luaD_precall (lua_State *L, StkId func, int nresults) { func = tryfuncTM(L, func); /* check the `function' tag method */ funcr = savestack(L, func); L->ci->nresults = nresults; - if (ttiscfp(func)) { /* C function pointer? */ + if (ttislcf(func)) { /* light C function? */ f = fvalue(func); /* get it */ goto isCfunc; /* go to call it */ } -- cgit v1.2.3-55-g6feb