From 8ca9534d048782af13141874e0d2fec0d0f806af Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 8 Jun 2000 15:27:13 -0300 Subject: access to `values' in TObject always through macros --- ldebug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldebug.c') diff --git a/ldebug.c b/ldebug.c index f2f8097a..470be6dc 100644 --- a/ldebug.c +++ b/ldebug.c @@ -1,5 +1,5 @@ /* -** $Id: ldebug.c,v 1.20 2000/05/15 19:30:41 roberto Exp roberto $ +** $Id: ldebug.c,v 1.21 2000/05/30 19:00:31 roberto Exp roberto $ ** Debug Interface ** See Copyright Notice in lua.h */ @@ -89,7 +89,7 @@ static int lua_nups (StkId f) { switch (ttype(f)) { case TAG_LCLOSURE: case TAG_CCLOSURE: case TAG_LMARK: case TAG_CMARK: - return f->value.cl->nupvalues; + return clvalue(f)->nupvalues; default: return 0; } -- cgit v1.2.3-55-g6feb