View Source Luex.Userdata (luex v0.0.2)
Link to this section Summary
Functions
allocate a new userdata in the virtual machine
Link to this section Types
@type t() :: Luex.Records.usdref()
Link to this section Functions
@spec get_data(Luex.lua_call(t())) :: Luex.lua_call(payload :: any())
@spec get_data(Luex.vm(), t()) :: Luex.lua_call(payload :: any())
@spec new(Luex.vm(), payload :: any()) :: Luex.lua_call(t())
allocate a new userdata in the virtual machine