aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-12-18 18:52:30 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2001-12-18 18:52:30 -0200
commite04f7ed4509af1577c10ead8e5d7d55c65754bf8 (patch)
tree36cfd31846b6f49c505adfbd1311ed1794689127 /lobject.h
parent101cee3032918bae8a5fa9dfc334c478c4aa15f6 (diff)
downloadlua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.gz
lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.bz2
lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.zip
first version of Lua "stackless"
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/lobject.h b/lobject.h
index 9d197af2..a8dcf35e 100644
--- a/lobject.h
+++ b/lobject.h
@@ -248,20 +248,6 @@ typedef struct Table {
248#define sizenode(t) (twoto((t)->lsizenode)) 248#define sizenode(t) (twoto((t)->lsizenode))
249#define sizearray(t) ((t)->sizearray) 249#define sizearray(t) ((t)->sizearray)
250 250
251/*
252** informations about a call (for debugging)
253*/
254typedef struct CallInfo {
255 struct CallInfo *prev; /* linked list */
256 StkId base; /* base for called function */
257 const Instruction **pc; /* current pc of called function */
258 int lastpc; /* last pc traced */
259 int line; /* current line */
260 int refi; /* current index in `lineinfo' */
261} CallInfo;
262
263#define ci_func(ci) (clvalue((ci)->base - 1))
264
265 251
266extern const TObject luaO_nilobject; 252extern const TObject luaO_nilobject;
267 253