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.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Opcode1(op string, arg any) any {
|
2021-03-02 11:15:25 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2023-07-20 08:42:48 +00:00
|
|
|
// Opcode1NoReturn emits opcode with 1 argument and no return value.
|
|
|
|
func Opcode1NoReturn(op string, arg any) {
|
|
|
|
}
|
|
|
|
|
2021-03-02 11:15:25 +00:00
|
|
|
// Opcode2 emits opcode with 2 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Opcode2(op string, arg1, arg2 any) any {
|
2021-03-02 11:15:25 +00:00
|
|
|
return nil
|
|
|
|
}
|
2021-03-02 11:56:32 +00:00
|
|
|
|
2023-07-20 08:42:48 +00:00
|
|
|
// Opcode2NoReturn emits opcode with 2 arguments and no return value.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Opcode2NoReturn(op string, arg1, arg2 any) {
|
2021-10-23 13:12:42 +00:00
|
|
|
}
|
|
|
|
|
2021-03-02 11:56:32 +00:00
|
|
|
// Opcode3 emits opcode with 3 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Opcode3(op string, arg1, arg2, arg3 any) any {
|
2021-03-02 11:56:32 +00:00
|
|
|
return nil
|
|
|
|
}
|