diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-18 18:52:30 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2001-12-18 18:52:30 -0200 |
| commit | e04f7ed4509af1577c10ead8e5d7d55c65754bf8 (patch) | |
| tree | 36cfd31846b6f49c505adfbd1311ed1794689127 /lobject.h | |
| parent | 101cee3032918bae8a5fa9dfc334c478c4aa15f6 (diff) | |
| download | lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.gz lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.tar.bz2 lua-e04f7ed4509af1577c10ead8e5d7d55c65754bf8.zip | |
first version of Lua "stackless"
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 14 |
1 files changed, 0 insertions, 14 deletions
| @@ -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 | */ | ||
| 254 | typedef 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 | ||
| 266 | extern const TObject luaO_nilobject; | 252 | extern const TObject luaO_nilobject; |
| 267 | 253 | ||
