diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-01-09 12:57:43 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1998-01-09 12:57:43 -0200 |
| commit | 6ac047afc46cbee935587b5734ec37d2e667a598 (patch) | |
| tree | 9dd53dcde6b44b1b2593420a13cbd828261a690e /lstate.h | |
| parent | 0e1058cfdd07a3751fce1c79b75241cf770266cf (diff) | |
| download | lua-6ac047afc46cbee935587b5734ec37d2e667a598.tar.gz lua-6ac047afc46cbee935587b5734ec37d2e667a598.tar.bz2 lua-6ac047afc46cbee935587b5734ec37d2e667a598.zip | |
details
Diffstat (limited to 'lstate.h')
| -rw-r--r-- | lstate.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.h,v 1.5 1997/11/28 16:56:05 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 1.6 1997/12/17 20:48:58 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 | */ |
| @@ -49,8 +49,6 @@ typedef struct LState { | |||
| 49 | struct C_Lua_Stack Cstack; /* C2lua struct */ | 49 | struct C_Lua_Stack Cstack; /* C2lua struct */ |
| 50 | void *errorJmp; /* current error recover point */ | 50 | void *errorJmp; /* current error recover point */ |
| 51 | TObject errorim; /* error tag method */ | 51 | TObject errorim; /* error tag method */ |
| 52 | struct C_Lua_Stack Cblocks[MAX_C_BLOCKS]; | ||
| 53 | int numCblocks; /* number of nested Cblocks */ | ||
| 54 | GCnode rootproto; /* list of all prototypes */ | 52 | GCnode rootproto; /* list of all prototypes */ |
| 55 | GCnode rootcl; /* list of all closures */ | 53 | GCnode rootcl; /* list of all closures */ |
| 56 | GCnode roottable; /* list of all tables */ | 54 | GCnode roottable; /* list of all tables */ |
| @@ -69,6 +67,8 @@ typedef struct LState { | |||
| 69 | char *Mbuffbase; /* current first position of Mbuffer */ | 67 | char *Mbuffbase; /* current first position of Mbuffer */ |
| 70 | int Mbuffsize; /* size of Mbuffer */ | 68 | int Mbuffsize; /* size of Mbuffer */ |
| 71 | int Mbuffnext; /* next position to fill in Mbuffer */ | 69 | int Mbuffnext; /* next position to fill in Mbuffer */ |
| 70 | struct C_Lua_Stack Cblocks[MAX_C_BLOCKS]; | ||
| 71 | int numCblocks; /* number of nested Cblocks */ | ||
| 72 | } LState; | 72 | } LState; |
| 73 | 73 | ||
| 74 | 74 | ||
