2021-03-02 11:15:25 +00:00
|
|
|
package neogointernal
|
|
|
|
|
2021-10-23 13:12:42 +00:00
|
|
|
// Opcode0NoReturn emits opcode without arguments.
|
|
|
|
func Opcode0NoReturn(op string) {
|
2021-10-22 11:50:51 +00:00
|
|
|
}
|
|
|
|
|
2021-03-02 11:15:25 +00:00
|
|
|
// Opcode1 emits opcode with 1 argument.
|
|
|
|
func Opcode1(op string, arg interface{}) interface{} {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Opcode2 emits opcode with 2 arguments.
|
|
|
|
func Opcode2(op string, arg1, arg2 interface{}) interface{} {
|
|
|
|
return nil
|
|
|
|
}
|
2021-03-02 11:56:32 +00:00
|
|
|
|
2021-10-23 13:12:42 +00:00
|
|
|
// Opcode2NoReturn emits opcode with 2 arguments.
|
|
|
|
func Opcode2NoReturn(op string, arg1, arg2 interface{}) {
|
|
|
|
}
|
|
|
|
|
2021-03-02 11:56:32 +00:00
|
|
|
// Opcode3 emits opcode with 3 arguments.
|
|
|
|
func Opcode3(op string, arg1, arg2, arg3 interface{}) interface{} {
|
|
|
|
return nil
|
|
|
|
}
|