lua-users home
lua-l archive

Re: Are there some potential problems if I use a self-defined memory acquirement function instead of realloc(3) in the l_alloc function?

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


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

AltStyle によって変換されたページ (->オリジナル) /