luaobject.go
func (lo *LuaObject) Get(a interface{}, subfields ...interface{}) error {
	lo.Push()
	defer lo.l.Pop(1)
	err := get(lo.l, subfields...)
	if err != nil {
		return err
	}
	defer lo.l.Pop(1)
	return LuaToGo(lo.l, -1, a)
}
func (lo *LuaObject) Get(a interface{}, subfields ...interface{}) error {
	lo.Push()
	defer lo.l.Pop(1)
	err := get(lo.l, subfields...)
	if err != nil {
		return err
	}
	defer lo.l.Pop(1)
	return LuaToGo(lo.l, -1, a)
}
func ( lo * LuaObject ) Get ( a interface { } , subfields ... interface { } ) error { lo . Push ( ) defer lo . l . Pop ( 1 ) err := get ( lo . l , subfields ... ) if err != nil { return err } defer lo . l . Pop ( 1 ) return LuaToGo ( lo . l , - 1 , a ) }
// Get stores in 'a' the Lua value indexed at the sequence of 'subfields'.
// 'a' must be a pointer as in LuaToGo.
Get stores in a the Lua value indexed at the sequence of subfields . a must be a pointer as in LuaToGo .