diff options
| author | Roberto I <roberto@inf.puc-rio.br> | 2026-04-23 18:00:23 -0300 |
|---|---|---|
| committer | Roberto I <roberto@inf.puc-rio.br> | 2026-04-23 18:00:23 -0300 |
| commit | ae23e726018bd31a25c1279600328d90207ec81c (patch) | |
| tree | 475b1d0fff4886a96b4f282cade8adcb69fc6397 /ltests.c | |
| parent | 4c5d5063a54c0088729b16fb25a333f0f9f836b0 (diff) | |
| download | lua-ae23e726018bd31a25c1279600328d90207ec81c.tar.gz lua-ae23e726018bd31a25c1279600328d90207ec81c.tar.bz2 lua-ae23e726018bd31a25c1279600328d90207ec81c.zip | |
new macro 'setnilvalue2s'
Diffstat (limited to 'ltests.c')
| -rw-r--r-- | ltests.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1145,7 +1145,7 @@ static int table_query (lua_State *L) { | |||
| 1145 | if (!tagisempty(*getArrTag(t, i))) | 1145 | if (!tagisempty(*getArrTag(t, i))) |
| 1146 | arr2obj(t, cast_uint(i), s2v(L->top.p)); | 1146 | arr2obj(t, cast_uint(i), s2v(L->top.p)); |
| 1147 | else | 1147 | else |
| 1148 | setnilvalue(s2v(L->top.p)); | 1148 | setnilvalue2s(L->top.p); |
| 1149 | api_incr_top(L); | 1149 | api_incr_top(L); |
| 1150 | lua_pushnil(L); | 1150 | lua_pushnil(L); |
| 1151 | } | 1151 | } |
