[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: use cases of getuservalue and setuservalue?
- From: "ubq323" <ubq323@ubq323.website>
- Date: Tue, 27 Sep 2022 01:34:05 +0100
what is the purpose of the lua_setuservalue and lua_getuservalue
(or in lua 5.4, getiuservalue and setiuservalue) functions?
what's the intended use case of being able to associate arbitrary lua
values with full userdata?
and does anyone know of any notable or interesting uses of this
functionality?