This commit is contained in:
Roberto Ierusalimschy
2004-03-24 12:46:49 -03:00
parent 227bddafe8
commit 26a9b249db
3 changed files with 5 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.h,v 1.119 2003/12/04 18:52:23 roberto Exp roberto $
** $Id: lstate.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -85,6 +85,7 @@ typedef struct CallInfo {
#define curr_func(L) (clvalue(L->base - 1))
#define ci_func(ci) (clvalue((ci)->base - 1))
#define f_isLua(ci) (!ci_func(ci)->c.isC)
#define isLua(ci) (ttisfunction((ci)->base - 1) && f_isLua(ci))