lua-users home
lua-l archive

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


> Am 26.07.2016 um 15:02 schrieb Patrick Donnelly <batrick@batbytes.com>:
> 
> 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

Thanks, it helps, indeed…