lua-users home
lua-l archive

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


Hello,

I've just discovered that in Lua 5.4.3, luaL_buffinit pushes a light userdata on the stack, which it did not do in previous versions.

However, the documentation for the function is [-0, +0, –] , meaning we should not expect anything to be pushed on the stack, nor any error raised. Also, API incompatibility doesn't say anything about it either.

Is there a practical reason for the behavior change? In any event, I suppose the documentation should be fixed.

Regards,

--

Benoit.