[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: When does lua_pushstring() fail (if at all)?
- From: Dirk Laurie <dirk.laurie@...>
- Date: Sun, 8 May 2016 10:47:36 +0200
2016-05-08 10:34 GMT+02:00 Marc Balmer <marc@msys.ch>:
> Can lua_pushstring() fail and not return to the caller?
> If so, under which circumstances and what action is taken?
The manual. It says: [-0, +1, m]. Higher up, it says:
'm' means the function may raise out-of-memory errors and errors
running a __gc metamethod.