github.com/cilium/ebpf@v0.15.1-0.20240517100537-8079b37aa138/internal/sys/ptr_64.go (about) 1 //go:build !386 && !amd64p32 && !arm && !mipsle && !mips64p32le && !armbe && !mips && !mips64p32 2 3 package sys 4 5 import ( 6 "unsafe" 7 ) 8 9 // Pointer wraps an unsafe.Pointer to be 64bit to 10 // conform to the syscall specification. 11 type Pointer struct { 12 ptr unsafe.Pointer 13 }