k3s/vendor/github.com/cilium/ebpf/internal/ptr_64.go
2020-08-28 17:18:31 -07:00

15 lines
261 B
Go

// +build !386,!amd64p32,!arm,!mipsle,!mips64p32le
// +build !armbe,!mips,!mips64p32
package internal
import (
"unsafe"
)
// Pointer wraps an unsafe.Pointer to be 64bit to
// conform to the syscall specification.
type Pointer struct {
ptr unsafe.Pointer
}