aboutsummaryrefslogtreecommitdiff
path: root/lstate.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-02-18 14:20:56 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-02-18 14:20:56 -0300
commitd2ebdc045bae7c8ed0e62729ca455444c076b1bb (patch)
tree3237f58be972a4e328380e6ec1f96bbf1b8b70d4 /lstate.h
parent81ede6bfcedb9304974110e00a2a4ba301afb4f7 (diff)
downloadlua-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lstate.h b/lstate.h
index c4106562..def5d7eb 100644
--- a/lstate.h
+++ b/lstate.h
@@ -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