1 // Copyright 2014 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.
11 kindInt16
= _KindInt16
12 kindInt32
= _KindInt32
13 kindInt64
= _KindInt64
15 kindUint8
= _KindUint8
16 kindUint16
= _KindUint16
17 kindUint32
= _KindUint32
18 kindUint64
= _KindUint64
19 kindUintptr
= _KindUintptr
20 kindFloat32
= _KindFloat32
21 kindFloat64
= _KindFloat64
22 kindComplex64
= _KindComplex64
23 kindComplex128
= _KindComplex128
24 kindArray
= _KindArray
27 kindInterface
= _KindInterface
30 kindSlice
= _KindSlice
31 kindString
= _KindString
32 kindStruct
= _KindStruct
33 kindUnsafePointer
= _KindUnsafePointer
35 kindDirectIface
= _KindDirectIface
36 kindGCProg
= _KindGCProg
37 kindNoPointers
= _KindNoPointers
41 // isDirectIface reports whether t is stored directly in an interface value.
42 func isDirectIface(t
*_type
) bool {
43 return t
.kind
&kindDirectIface
!= 0