[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: New behaviour of lua_Alloc missing in list of API changes
- From: Roberto Ierusalimschy <roberto@...>
- Date: Tue, 29 Mar 2011 14:30:33 -0300
> when porting a program from Lua 5.1 to Lua 5.2, I experienced crashes within
> my custom memory allocator function, which I passed to lua_newstate.
> I finally found out that the expected behaviour of the allocator function has
> changed in Lua 5.2. See: http://www.lua.org/work/doc/manual.html#lua_Alloc
> Unfortunatly this is not documented in the list of changes in the API:
> I suggest to add this missing information in Section 8.3 of the manual.
Thanks. We will correct that.