[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: New behaviour of lua_Alloc missing in list of API changes
- From: Jan Behrens <public@...>
- Date: Tue, 29 Mar 2011 19:24:23 +0200
Hi,
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:
http://www.lua.org/work/doc/manual.html#8.3
I suggest to add this missing information in Section 8.3 of the manual.
Regards
Jan Behrens