[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: one more stack related question...
- From: Patrick Donnelly <batrick@...>
- Date: Tue, 26 Jul 2016 09:02:12 -0400
On Tue, Jul 26, 2016 at 6:19 AM, Marc Balmer <marc@msys.ch> wrote:
> So after I added lua_checkstack() calls before creating a number of user values
> everything is fine again.
>
> Does lua_newtable() (and all functions that push values) need this as well?
>
> What does lua_newuseradate() actually return when there is not enough space
> on stack, NULL or some rogue pointer?
Read The Fine Manual: https://www.lua.org/manual/5.3/manual.html#4.2
--
Patrick Donnelly