diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-18 14:20:56 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-02-18 14:20:56 -0300 |
| commit | d2ebdc045bae7c8ed0e62729ca455444c076b1bb (patch) | |
| tree | 3237f58be972a4e328380e6ec1f96bbf1b8b70d4 /lstate.h | |
| parent | 81ede6bfcedb9304974110e00a2a4ba301afb4f7 (diff) | |
| download | lua-d2ebdc045bae7c8ed0e62729ca455444c076b1bb.tar.gz lua-d2ebdc045bae7c8ed0e62729ca455444c076b1bb.tar.bz2 lua-d2ebdc045bae7c8ed0e62729ca455444c076b1bb.zip | |
new macro 'lua_checkversion' to check whether core and application are
compatible
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 2.35 2008/08/13 17:01:33 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.36 2008/08/26 13:27:42 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 | */ |
| @@ -134,6 +134,7 @@ typedef struct global_State { | |||
| 134 | UpVal uvhead; /* head of double-linked list of all open upvalues */ | 134 | UpVal uvhead; /* head of double-linked list of all open upvalues */ |
| 135 | struct Table *mt[NUM_TAGS]; /* metatables for basic types */ | 135 | struct Table *mt[NUM_TAGS]; /* metatables for basic types */ |
| 136 | TString *tmname[TM_N]; /* array with tag-method names */ | 136 | TString *tmname[TM_N]; /* array with tag-method names */ |
| 137 | const TValue *nilobjp; /* pointer to nil object (to check consistency) */ | ||
| 137 | } global_State; | 138 | } global_State; |
| 138 | 139 | ||
| 139 | 140 | ||
