示例#1
0
func NewAction_List(s *capnp.Segment, sz int32) (Action_List, error) {
	l, err := capnp.NewUInt16List(s, sz)
	if err != nil {
		return Action_List{}, err
	}
	return Action_List{l.List}, nil
}
示例#2
0
func NewStatus_List(s *capnp.Segment, sz int32) (Status_List, error) {
	l, err := capnp.NewUInt16List(s, sz)
	if err != nil {
		return Status_List{}, err
	}
	return Status_List{l.List}, nil
}