1
0
Fork 0
golang-golang-x-clipboard/clipboard_nocgo.go
Daniel Baumann 79ead63b61
Adding upstream version 0.7.0+dfsg.
Signed-off-by: Daniel Baumann <daniel@debian.org>
2025-05-24 12:03:12 +02:00

26 lines
588 B
Go

//go:build !windows && !cgo
// +build !windows,!cgo
package clipboard
import "context"
func initialize() error {
panic("clipboard: cannot use when CGO_ENABLED=0")
}
func read(t Format) (buf []byte, err error) {
panic("clipboard: cannot use when CGO_ENABLED=0")
}
func readc(t string) ([]byte, error) {
panic("clipboard: cannot use when CGO_ENABLED=0")
}
func write(t Format, buf []byte) (<-chan struct{}, error) {
panic("clipboard: cannot use when CGO_ENABLED=0")
}
func watch(ctx context.Context, t Format) <-chan []byte {
panic("clipboard: cannot use when CGO_ENABLED=0")
}