MCPcopy Create free account
hub / github.com/DNAProject/DNA / PushMany

Method PushMany

vm/neovm/value_stack.go:103–109  ·  view source on GitHub ↗
(vals ...types.VmValue)

Source from the content-addressed store, hash-verified

101}
102
103func (self *ValueStack) PushMany(vals ...types.VmValue) error {
104 if int64(len(self.data)+len(vals)) > self.limit {
105 return errors.ERR_OVER_STACK_LEN
106 }
107 self.data = append(self.data, vals...)
108 return nil
109}
110
111func (self *ValueStack) PushAsArray(vals []types.VmValue) error {
112

Callers 1

ExecuteOpMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected