aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-05 12:34:03 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2005-05-05 12:34:03 -0300
commit6cf85dcc900c71687678bc316164142e76df7385 (patch)
treec7d672fc9c68f2cdaffb5e57d1bf8c846091aaa0 /lstate.h
parent65f4a0f636eede0f026d0205ac929bc5a56f8b9c (diff)
downloadlua-6cf85dcc900c71687678bc316164142e76df7385.tar.gz
lua-6cf85dcc900c71687678bc316164142e76df7385.tar.bz2
lua-6cf85dcc900c71687678bc316164142e76df7385.zip
metatables for all types
Diffstat (limited to 'lstate.h')
-rw-r--r--lstate.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index 908abf70..6742b4ca 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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