MCPcopy
hub / github.com/yuin/gopher-lua / LUserData

Struct LUserData

value.go:203–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201func (ls *LState) Type() LValueType { return LTThread }
202
203type LUserData struct {
204 Value interface{}
205 Env *LTable
206 Metatable LValue
207}
208
209func (ud *LUserData) String() string { return fmt.Sprintf("userdata: %p", ud) }
210func (ud *LUserData) Type() LValueType { return LTUserData }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected