k3s/vendor/github.com/Microsoft/go-winio/pkg/etw/ptr64_32.go

17 lines
358 B
Go
Raw Normal View History

2019-09-27 21:51:53 +00:00
// +build 386 arm
package etw
import (
"unsafe"
)
// byteptr64 defines a struct containing a pointer. The struct is guaranteed to
// be 64 bits, regardless of the actual size of a pointer on the platform. This
// is intended for use with certain Windows APIs that expect a pointer as a
// ULONGLONG.
type ptr64 struct {
ptr unsafe.Pointer
_ uint32
}