[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Errata corrige: Memory exhaustion: different Lua functions, error messages and exit codes
- From: Daurnimator <quae@...>
- Date: Fri, 22 May 2020 15:02:47 +1000
On Fri, 22 May 2020 at 07:21, Massimo Sala <massimo.sala.71@gmail.com> wrote:
> Does anybody recognize this inconsistent behavour of the APIs?
> Am I the only one annoyed about it?
The difference is that LUA_ERRMEM is generated by (and can *only* come
from) the lua core,
vs in "user code" which is no different to someone writing:
error("out of memory")
LUA_ERRMEM does have some special semantics, e.g. that message
handlers are not called.
- References:
- Memory exhaustion: different Lua functions, error messages and exit codes, Massimo Sala
- Errata corrige: Memory exhaustion: different Lua functions, error messages and exit codes, Massimo Sala
- Re: Errata corrige: Memory exhaustion: different Lua functions, error messages and exit codes, Coda Highland
- Re: Errata corrige: Memory exhaustion: different Lua functions, error messages and exit codes, Viacheslav Usov
- Re: Errata corrige: Memory exhaustion: different Lua functions, error messages and exit codes, Coda Highland
- Re: Errata corrige: Memory exhaustion: different Lua functions, error messages and exit codes, Massimo Sala