diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-06-18 15:59:18 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-06-18 15:59:18 -0300 |
| commit | 1d6ebce2969d3bfe406633fd8e284ff187ce00f2 (patch) | |
| tree | 5c961b9e2de11fb58fe44d9c2d80be25d756bf0c /lstate.h | |
| parent | bc3e02a1b7d65c908409549160f567fad14cd238 (diff) | |
| download | lua-1d6ebce2969d3bfe406633fd8e284ff187ce00f2.tar.gz lua-1d6ebce2969d3bfe406633fd8e284ff187ce00f2.tar.bz2 lua-1d6ebce2969d3bfe406633fd8e284ff187ce00f2.zip | |
new function 'lua_version' (so that 'checkversion' can be implemented
in the auxiliary library)
Diffstat (limited to 'lstate.h')
| -rw-r--r-- | lstate.h | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lstate.h,v 2.43 2009/04/17 22:00:01 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.44 2009/06/01 19:09:26 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 | */ |
| @@ -148,9 +148,9 @@ typedef struct global_State { | |||
| 148 | TValue l_registry; | 148 | TValue l_registry; |
| 149 | struct lua_State *mainthread; | 149 | struct lua_State *mainthread; |
| 150 | UpVal uvhead; /* head of double-linked list of all open upvalues */ | 150 | UpVal uvhead; /* head of double-linked list of all open upvalues */ |
| 151 | const lua_Number *version; /* pointer to version number */ | ||
| 151 | struct Table *mt[NUM_TAGS]; /* metatables for basic types */ | 152 | struct Table *mt[NUM_TAGS]; /* metatables for basic types */ |
| 152 | TString *tmname[TM_N]; /* array with tag-method names */ | 153 | TString *tmname[TM_N]; /* array with tag-method names */ |
| 153 | const TValue *nilobjp; /* pointer to nil object (to check consistency) */ | ||
| 154 | } global_State; | 154 | } global_State; |
| 155 | 155 | ||
| 156 | 156 | ||
