On 16 Jun 2016 22:13, "Marc Balmer" <[hidden email]> wrote:
> Is it possible that a userdata value that I create in C using lua_newuserdata() suddenly has a uservalue associated with it, i.e. without lua_setuservalue() being called from my code?
Why would you ever need a non-union uservalue?
Generally you use metatables for per-type properties, uservalues for per-instance properties.