From d2ebdc045bae7c8ed0e62729ca455444c076b1bb Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 18 Feb 2009 14:20:56 -0300 Subject: new macro 'lua_checkversion' to check whether core and application are compatible --- lstate.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index c4106562..def5d7eb 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.35 2008/08/13 17:01:33 roberto Exp roberto $ +** $Id: lstate.h,v 2.36 2008/08/26 13:27:42 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -134,6 +134,7 @@ typedef struct global_State { UpVal uvhead; /* head of double-linked list of all open upvalues */ struct Table *mt[NUM_TAGS]; /* metatables for basic types */ TString *tmname[TM_N]; /* array with tag-method names */ + const TValue *nilobjp; /* pointer to nil object (to check consistency) */ } global_State; -- cgit v1.2.3-55-g6feb