mirror of
https://github.com/lua/lua
synced 2026-09-29 04:35:58 +03:00
all accesses to TObjects done through macros
This commit is contained in:
parent
619edfd9e4
commit
f2c451d745
10 changed files with 173 additions and 185 deletions
5
ltests.c
5
ltests.c
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
** $Id: ltests.c,v 1.55 2000/12/28 12:55:41 roberto Exp roberto $
|
||||
** $Id: ltests.c,v 1.56 2001/01/15 16:13:24 roberto Exp roberto $
|
||||
** Internal Module for Debugging of the Lua Implementation
|
||||
** See Copyright Notice in lua.h
|
||||
*/
|
||||
|
|
@ -226,8 +226,7 @@ static int string_query (lua_State *L) {
|
|||
TString *ts;
|
||||
int n = 0;
|
||||
for (ts = tb->hash[s]; ts; ts = ts->nexthash) {
|
||||
ttype(L->top) = LUA_TSTRING;
|
||||
tsvalue(L->top) = ts;
|
||||
setsvalue(L->top, ts);
|
||||
incr_top;
|
||||
n++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue