luaobject.go
func (lo *LuaObject) GetObject(subfields ...interface{}) (*LuaObject, error) {
	lo.Push()
	defer lo.l.Pop(1)
	err := get(lo.l, subfields...)
	if err != nil {
		return nil, err
	}
	val := NewLuaObject(lo.l, -1)
	lo.l.Pop(1)
	return val, nil
}
func (lo *LuaObject) GetObject(subfields ...interface{}) (*LuaObject, error) {
	lo.Push()
	defer lo.l.Pop(1)
	err := get(lo.l, subfields...)
	if err != nil {
		return nil, err
	}
	val := NewLuaObject(lo.l, -1)
	lo.l.Pop(1)
	return val, nil
}
func ( lo * LuaObject ) GetObject ( subfields ... interface { } ) ( * LuaObject , error ) { lo . Push ( ) defer lo . l . Pop ( 1 ) err := get ( lo . l , subfields ... ) if err != nil { return nil , err } val := NewLuaObject ( lo . l , - 1 ) lo . l . Pop ( 1 ) return val , nil }
// GetObject returns the LuaObject indexed at the sequence of 'subfields'.
GetObject returns the LuaObject indexed at the sequence of subfields .