[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Are there some potential problems if I use a self-defined memory acquirement function instead of realloc(3) in the l_alloc function?
- From: Roberto Ierusalimschy <roberto@...>
- Date: Mon, 10 Aug 2020 13:32:58 -0300
> > Lua 5.4 has removed this restriction of "no fail when shrinking".
> >
> > -- Roberto
> >
>
> Wow, so this is why it is no longer in the manual.
> I wonder if there is any system with C support left that can't
> run Lua :)
As I pointed out in my previous message, it is very easy to modify
l_alloc to circumvent this restriction in previous versions of Lua.
-- Roberto