lua-users home
lua-l archive

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


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