mirror of
https://github.com/rwinkhart/go-winio.git
synced 2026-08-30 22:06:41 -04:00
Some new upcoming changes require us to use Go 1.23. However, if we switch to Go 1.23 some new linter errors are showing up. This commit fixes most of the errors and adds an exclusion for integer overflow errors. Signed-off-by: Amit <ambarve@microsoft.com>
17 lines
375 B
Go
17 lines
375 B
Go
//go:build windows && (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
|
|
}
|