blob: 73028d6f4efcff032bbd2f3aaad8acc4d41bc39b [file] [log] [blame]
Russ Coxfee9e4752014-11-11 17:05:19 -05001// Copyright 2012 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package runtime
6
7const (
8 _KindBool = 1 + iota
9 _KindInt
10 _KindInt8
11 _KindInt16
12 _KindInt32
13 _KindInt64
14 _KindUint
15 _KindUint8
16 _KindUint16
17 _KindUint32
18 _KindUint64
19 _KindUintptr
20 _KindFloat32
21 _KindFloat64
22 _KindComplex64
23 _KindComplex128
24 _KindArray
25 _KindChan
26 _KindFunc
27 _KindInterface
28 _KindMap
29 _KindPtr
30 _KindSlice
31 _KindString
32 _KindStruct
33 _KindUnsafePointer
34
35 _KindDirectIface = 1 << 5
36 _KindGCProg = 1 << 6 // Type.gc points to GC program
37 _KindNoPointers = 1 << 7
38 _KindMask = (1 << 5) - 1
39)