File: const.go

package info (click to toggle)
golang-github-icza-gox 0.0~git20210726.cd40a3f-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 332 kB
  • sloc: makefile: 2
file content (15 lines) | stat: -rw-r--r-- 291 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// This file contains constants.

package osx

const (
	maxUint = ^uint(0)
)

const (
	// Arch32bit tells if the target architecture is 32-bit.
	Arch32bit = maxUint == 0xffffffff

	// Arch64bit tells if the target architecture is 64-bit.
	Arch64bit = uint64(maxUint) == 0xffffffffffffffff
)