From 98816d0ce58db9e817129b076723187d690501df Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 28 Feb 2011 14:32:10 -0300 Subject: small problems with 'luaone.c' --- lobject.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lobject.h') diff --git a/lobject.h b/lobject.h index ac4bf306..280e4b2c 100644 --- a/lobject.h +++ b/lobject.h @@ -1,5 +1,5 @@ /* -** $Id: lobject.h,v 2.45 2010/12/10 14:53:15 roberto Exp roberto $ +** $Id: lobject.h,v 2.46 2011/01/07 15:46:27 roberto Exp roberto $ ** Type definitions for Lua objects ** See Copyright Notice in lua.h */ @@ -23,6 +23,11 @@ #define LUA_TUPVAL (LUA_NUMTAGS+1) #define LUA_TDEADKEY (LUA_NUMTAGS+2) +/* +** number of all possible tags (including LUA_TNONE but excluding DEADKEY) +*/ +#define LUA_TOTALTAGS (LUA_TUPVAL+2) + /* ** Variant tag for light C functions (negative to be considered -- cgit v1.2.3-55-g6feb