diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-12 13:07:29 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2010-04-12 13:07:29 -0300 |
commit | d20ff60615c3839ee14dd35c7aef0ca084fc24b4 (patch) | |
tree | 5f8a2decb76f82618e4fc340fcf952bcab166fa9 /lstate.h | |
parent | d41b467320e3962b36cf6011245e924a512a5f9a (diff) | |
download | lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.tar.gz lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.tar.bz2 lua-d20ff60615c3839ee14dd35c7aef0ca084fc24b4.zip |
new macro LUA_NUMTAGS
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.60 2010/04/05 16:35:37 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.61 2010/04/08 17:16:46 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 | */ |
@@ -144,7 +144,7 @@ typedef struct global_State { | |||
144 | const lua_Number *version; /* pointer to version number */ | 144 | const lua_Number *version; /* pointer to version number */ |
145 | TString *memerrmsg; /* memory-error message */ | 145 | TString *memerrmsg; /* memory-error message */ |
146 | TString *tmname[TM_N]; /* array with tag-method names */ | 146 | TString *tmname[TM_N]; /* array with tag-method names */ |
147 | struct Table *mt[NUM_TAGS]; /* metatables for basic types */ | 147 | struct Table *mt[LUA_NUMTAGS]; /* metatables for basic types */ |
148 | } global_State; | 148 | } global_State; |
149 | 149 | ||
150 | 150 | ||