2021-02-05 16:02:09 +00:00
|
|
|
package neogointernal
|
|
|
|
|
|
|
|
// Syscall0 performs syscall with 0 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall0(name string) any {
|
2021-02-05 16:02:09 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall0NoReturn performs syscall with 0 arguments.
|
|
|
|
func Syscall0NoReturn(name string) {
|
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall1 performs syscall with 1 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall1(name string, arg any) any {
|
2021-02-05 16:02:09 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall1NoReturn performs syscall with 1 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall1NoReturn(name string, arg any) {
|
2021-02-05 16:02:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall2 performs syscall with 2 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall2(name string, arg1, arg2 any) any {
|
2021-02-05 16:02:09 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall2NoReturn performs syscall with 2 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall2NoReturn(name string, arg1, arg2 any) {
|
2021-02-05 16:02:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall3 performs syscall with 3 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall3(name string, arg1, arg2, arg3 any) any {
|
2021-02-05 16:02:09 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall3NoReturn performs syscall with 3 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall3NoReturn(name string, arg1, arg2, arg3 any) {
|
2021-02-05 16:02:09 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall4 performs syscall with 4 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall4(name string, arg1, arg2, arg3, arg4 any) any {
|
2021-02-05 16:02:09 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
// Syscall4NoReturn performs syscall with 4 arguments.
|
2023-04-03 10:34:24 +00:00
|
|
|
func Syscall4NoReturn(name string, arg1, arg2, arg3, arg4 any) {
|
2021-02-05 16:02:09 +00:00
|
|
|
}
|