diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-24 12:46:49 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-24 12:46:49 -0300 |
commit | 26a9b249db37d713d7a74e24036fd93666695236 (patch) | |
tree | 604f1aedd5bd132abb43a3b6106cf909273eb0ca /lstate.h | |
parent | 227bddafe83955d2cc871b76e3f9e2fb106450e4 (diff) | |
download | lua-26a9b249db37d713d7a74e24036fd93666695236.tar.gz lua-26a9b249db37d713d7a74e24036fd93666695236.tar.bz2 lua-26a9b249db37d713d7a74e24036fd93666695236.zip |
details
Diffstat (limited to 'lstate.h')
-rw-r--r-- | lstate.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lstate.h,v 1.119 2003/12/04 18:52:23 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.1 2003/12/10 12:13:36 roberto Exp roberto $ |
3 | ** Global State | 3 | ** Global State |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -85,6 +85,7 @@ typedef struct CallInfo { | |||
85 | 85 | ||
86 | 86 | ||
87 | 87 | ||
88 | #define curr_func(L) (clvalue(L->base - 1)) | ||
88 | #define ci_func(ci) (clvalue((ci)->base - 1)) | 89 | #define ci_func(ci) (clvalue((ci)->base - 1)) |
89 | #define f_isLua(ci) (!ci_func(ci)->c.isC) | 90 | #define f_isLua(ci) (!ci_func(ci)->c.isC) |
90 | #define isLua(ci) (ttisfunction((ci)->base - 1) && f_isLua(ci)) | 91 | #define isLua(ci) (ttisfunction((ci)->base - 1) && f_isLua(ci)) |