lua-users home
lua-l archive

Re: [Lua5.4] lua_toclose will close the wrong value

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


> The manual states for lua_toclose():
> 
> 	[...] AN INDEX MARKED AS TO-BE-CLOSED SHOULD NOT BE REMOVED FROM
> 	THE STACK BY ANY OTHER FUNCTION IN THE API EXCEPT LUA_SETTOP OR
> 	LUA_POP.
> 
> 	[...]
> 
> [...] It might be that moving the item to be
> cleaned is disallowed as well and the manual doesn't mention it.
 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
It seems it does.
-- Roberto

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