From 26a9b249db37d713d7a74e24036fd93666695236 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 24 Mar 2004 12:46:49 -0300 Subject: details --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 66db36ae..19ff1bd9 100644 --- a/lstate.h +++ b/lstate.h @@ -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)) -- cgit v1.2.3-55-g6feb