summaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-14 12:13:48 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-04-14 12:13:48 -0300
commit7dfa4cd655118faf164427356609fec31906dac2 (patch)
treed39fac9afba1dc0ab01dd5d174824120650c9eab /lstate.h
parentfc6203ee4308173283f9ad9de6694d47f0908c4d (diff)
downloadlua-7dfa4cd655118faf164427356609fec31906dac2.tar.gz
lua-7dfa4cd655118faf164427356609fec31906dac2.tar.bz2
lua-7dfa4cd655118faf164427356609fec31906dac2.zip
first implementation of light C functions
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lstate.h b/lstate.h
index fc496b12..734898d0 100644
--- a/lstate.h
+++ b/lstate.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lstate.h,v 2.61 2010/04/08 17:16:46 roberto Exp roberto $ 2** $Id: lstate.h,v 2.62 2010/04/12 16:07:06 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*/
@@ -105,7 +105,6 @@ typedef struct CallInfo {
105#define CIST_TAIL (1<<6) /* call was tail called */ 105#define CIST_TAIL (1<<6) /* call was tail called */
106 106
107 107
108#define curr_func(L) (clvalue(L->ci->func))
109#define ci_func(ci) (clvalue((ci)->func)) 108#define ci_func(ci) (clvalue((ci)->func))
110#define isLua(ci) ((ci)->callstatus & CIST_LUA) 109#define isLua(ci) ((ci)->callstatus & CIST_LUA)
111 110