diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-05 12:34:03 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-05-05 12:34:03 -0300 |
commit | 6cf85dcc900c71687678bc316164142e76df7385 (patch) | |
tree | c7d672fc9c68f2cdaffb5e57d1bf8c846091aaa0 /lstate.h | |
parent | 65f4a0f636eede0f026d0205ac929bc5a56f8b9c (diff) | |
download | lua-6cf85dcc900c71687678bc316164142e76df7385.tar.gz lua-6cf85dcc900c71687678bc316164142e76df7385.tar.bz2 lua-6cf85dcc900c71687678bc316164142e76df7385.zip |
metatables for all types
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.19 2005/04/05 13:41:29 roberto Exp roberto $ | 2 | ** $Id: lstate.h,v 2.20 2005/04/25 19:24:10 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 | */ |
@@ -89,6 +89,7 @@ typedef struct global_State { | |||
89 | TValue _registry; | 89 | TValue _registry; |
90 | struct lua_State *mainthread; | 90 | struct lua_State *mainthread; |
91 | UpVal uvhead; /* head of double-linked list of all open upvalues */ | 91 | UpVal uvhead; /* head of double-linked list of all open upvalues */ |
92 | struct Table *mt[NUM_TAGS]; /* metatables for basic types */ | ||
92 | TString *tmname[TM_N]; /* array with tag-method names */ | 93 | TString *tmname[TM_N]; /* array with tag-method names */ |
93 | } global_State; | 94 | } global_State; |
94 | 95 | ||