neo-go/pkg/interop/neogointernal/syscall.go
Anna Shaleva 6b21ad9922 *: replace interface{} with any keyword
Everywhere including examples, external interop APIs, bindings generators
code and in other valuable places. A couple of `interface{}` usages are
intentionally left in the CHANGELOG.md, documentation and tests.
2023-04-04 13:22:42 +03:00

46 lines
1.1 KiB
Go

package neogointernal
// Syscall0 performs syscall with 0 arguments.
func Syscall0(name string) any {
return nil
}
// Syscall0NoReturn performs syscall with 0 arguments.
func Syscall0NoReturn(name string) {
}
// Syscall1 performs syscall with 1 arguments.
func Syscall1(name string, arg any) any {
return nil
}
// Syscall1NoReturn performs syscall with 1 arguments.
func Syscall1NoReturn(name string, arg any) {
}
// Syscall2 performs syscall with 2 arguments.
func Syscall2(name string, arg1, arg2 any) any {
return nil
}
// Syscall2NoReturn performs syscall with 2 arguments.
func Syscall2NoReturn(name string, arg1, arg2 any) {
}
// Syscall3 performs syscall with 3 arguments.
func Syscall3(name string, arg1, arg2, arg3 any) any {
return nil
}
// Syscall3NoReturn performs syscall with 3 arguments.
func Syscall3NoReturn(name string, arg1, arg2, arg3 any) {
}
// Syscall4 performs syscall with 4 arguments.
func Syscall4(name string, arg1, arg2, arg3, arg4 any) any {
return nil
}
// Syscall4NoReturn performs syscall with 4 arguments.
func Syscall4NoReturn(name string, arg1, arg2, arg3, arg4 any) {
}