diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-08 15:27:13 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-08 15:27:13 -0300 |
| commit | 8ca9534d048782af13141874e0d2fec0d0f806af (patch) | |
| tree | d58ab47be12ff9d5910ffaf6222cf94bd0dff0f6 /ldebug.c | |
| parent | 8bcf6228765e56be19feb90c8805cc2fb2223188 (diff) | |
| download | lua-8ca9534d048782af13141874e0d2fec0d0f806af.tar.gz lua-8ca9534d048782af13141874e0d2fec0d0f806af.tar.bz2 lua-8ca9534d048782af13141874e0d2fec0d0f806af.zip | |
access to `values' in TObject always through macros
Diffstat (limited to 'ldebug.c')
| -rw-r--r-- | ldebug.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: ldebug.c,v 1.20 2000/05/15 19:30:41 roberto Exp roberto $ | 2 | ** $Id: ldebug.c,v 1.21 2000/05/30 19:00:31 roberto Exp roberto $ |
| 3 | ** Debug Interface | 3 | ** Debug Interface |
| 4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
| 5 | */ | 5 | */ |
| @@ -89,7 +89,7 @@ static int lua_nups (StkId f) { | |||
| 89 | switch (ttype(f)) { | 89 | switch (ttype(f)) { |
| 90 | case TAG_LCLOSURE: case TAG_CCLOSURE: | 90 | case TAG_LCLOSURE: case TAG_CCLOSURE: |
| 91 | case TAG_LMARK: case TAG_CMARK: | 91 | case TAG_LMARK: case TAG_CMARK: |
| 92 | return f->value.cl->nupvalues; | 92 | return clvalue(f)->nupvalues; |
| 93 | default: | 93 | default: |
| 94 | return 0; | 94 | return 0; |
| 95 | } | 95 | } |
