lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

2016-05-08 10:34 GMT+02:00 Marc Balmer <>:

> 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.