1
0
mirror of https://github.com/fumiama/gozel.git synced 2026-06-05 00:10:24 +08:00
Files
gozel/internal/zecall/zecall_stub.go
2026-03-22 18:12:12 +08:00

16 lines
517 B
Go

//go:build !linux && !windows
package zecall
// Register a process for calling. For generated init only. Not thread-safe.
func Register(string) error {
return ErrNotImplemented
}
// Syscall invokes a registered proc by name. For generated call only.
// The go:uintptrescapes directive tells the compiler that args may contain
// pointers converted to uintptr, so the GC will keep them alive during the call.
func Syscall(name string, args ...uintptr) (uintptr, uintptr, error) {
return 0, 0, ErrNotImplemented
}