From d20ff60615c3839ee14dd35c7aef0ca084fc24b4 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 12 Apr 2010 13:07:29 -0300 Subject: new macro LUA_NUMTAGS --- lstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lstate.h') diff --git a/lstate.h b/lstate.h index 17cf2e06..fc496b12 100644 --- a/lstate.h +++ b/lstate.h @@ -1,5 +1,5 @@ /* -** $Id: lstate.h,v 2.60 2010/04/05 16:35:37 roberto Exp roberto $ +** $Id: lstate.h,v 2.61 2010/04/08 17:16:46 roberto Exp roberto $ ** Global State ** See Copyright Notice in lua.h */ @@ -144,7 +144,7 @@ typedef struct global_State { const lua_Number *version; /* pointer to version number */ TString *memerrmsg; /* memory-error message */ TString *tmname[TM_N]; /* array with tag-method names */ - struct Table *mt[NUM_TAGS]; /* metatables for basic types */ + struct Table *mt[LUA_NUMTAGS]; /* metatables for basic types */ } global_State; -- cgit v1.2.3-55-g6feb