[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Docs for lua_remove, lua_replace
- From: Albert Krewinkel <albert+lua@...>
- Date: Wed, 16 Feb 2022 18:21:21 +0100
The documentation for `lua_remove` and `lua_replace` indicates that both
will never trigger an error. However, their (macro) definitions use
lua_pop, which *can* raise an error in Lua 5.4. Therefore, I believe
that the function indicators should be `[-1, +0, e]` instead of
`[-1, +0, –]`.
Cheers,
Albert
--
Albert Krewinkel
GPG: 8eed e3e2 e8c5 6f18 81fe e836 388d c0b2 1f63 1124