summaryrefslogtreecommitdiff
path: root/vendor/github.com/cilium/ebpf/internal/sys/ptr_32_le.go
blob: a6a51edb6e10b09d63ebcc5d2d12d67147da9d77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//go:build 386 || amd64p32 || arm || mipsle || mips64p32le
// +build 386 amd64p32 arm mipsle mips64p32le

package sys

import (
	"unsafe"
)

// Pointer wraps an unsafe.Pointer to be 64bit to
// conform to the syscall specification.
type Pointer struct {
	ptr unsafe.Pointer
	pad uint32
}