| // Copyright 2014 The Go Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style |
| // license that can be found in the LICENSE file. |
| kindUintptr = _KindUintptr |
| kindFloat32 = _KindFloat32 |
| kindFloat64 = _KindFloat64 |
| kindComplex64 = _KindComplex64 |
| kindComplex128 = _KindComplex128 |
| kindInterface = _KindInterface |
| kindUnsafePointer = _KindUnsafePointer |
| kindDirectIface = _KindDirectIface |
| kindNoPointers = _KindNoPointers |
| // isDirectIface reports whether t is stored directly in an interface value. |
| func isDirectIface(t *_type) bool { |
| return t.kind&kindDirectIface != 0 |