ptr_64.go 268 B

12345678910111213
  1. //go:build !386 && !amd64p32 && !arm && !mipsle && !mips64p32le && !armbe && !mips && !mips64p32
  2. package sys
  3. import (
  4. "unsafe"
  5. )
  6. // Pointer wraps an unsafe.Pointer to be 64bit to
  7. // conform to the syscall specification.
  8. type Pointer struct {
  9. ptr unsafe.Pointer
  10. }