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 /lobject.h | |
| parent | 4c5d5063a54c0088729b16fb25a333f0f9f836b0 (diff) | |
| download | lua-ae23e726018bd31a25c1279600328d90207ec81c.tar.gz lua-ae23e726018bd31a25c1279600328d90207ec81c.tar.bz2 lua-ae23e726018bd31a25c1279600328d90207ec81c.zip | |
new macro 'setnilvalue2s'
Diffstat (limited to 'lobject.h')
| -rw-r--r-- | lobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -208,7 +208,8 @@ typedef union { | |||
| 208 | #define ttisstrictnil(o) checktag((o), LUA_VNIL) | 208 | #define ttisstrictnil(o) checktag((o), LUA_VNIL) |
| 209 | 209 | ||
| 210 | 210 | ||
| 211 | #define setnilvalue(obj) settt_(obj, LUA_VNIL) | 211 | #define setnilvalue(obj) settt_(obj, LUA_VNIL) |
| 212 | #define setnilvalue2s(stk) setnilvalue(s2v(stk)) | ||
| 212 | 213 | ||
| 213 | 214 | ||
| 214 | #define isabstkey(v) checktag((v), LUA_VABSTKEY) | 215 | #define isabstkey(v) checktag((v), LUA_VABSTKEY) |
