open-nomad/vendor/github.com/cilium/ebpf/internal/ptr_32_be.go

15 lines
219 B
Go
Raw Normal View History

// +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 {
pad uint32
ptr unsafe.Pointer
}