GoToSocial/vendor/github.com/cilium/ebpf/internal/sys/ptr_32_be.go

16 lines
252 B
Go

//go:build armbe || mips || mips64p32
// +build armbe mips mips64p32
package sys
import (
"unsafe"
)
// Pointer wraps an unsafe.Pointer to be 64bit to
// conform to the syscall specification.
type Pointer struct {
pad uint32
ptr unsafe.Pointer
}