2012-06-06 15:20:02 -06:00
|
|
|
// Copyright 2012 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.
|
|
|
|
|
|
|
|
enum {
|
|
|
|
KindBool = 1,
|
|
|
|
KindInt,
|
|
|
|
KindInt8,
|
|
|
|
KindInt16,
|
|
|
|
KindInt32,
|
|
|
|
KindInt64,
|
|
|
|
KindUint,
|
|
|
|
KindUint8,
|
|
|
|
KindUint16,
|
|
|
|
KindUint32,
|
|
|
|
KindUint64,
|
|
|
|
KindUintptr,
|
|
|
|
KindFloat32,
|
|
|
|
KindFloat64,
|
|
|
|
KindComplex64,
|
|
|
|
KindComplex128,
|
|
|
|
KindArray,
|
|
|
|
KindChan,
|
|
|
|
KindFunc,
|
|
|
|
KindInterface,
|
|
|
|
KindMap,
|
|
|
|
KindPtr,
|
|
|
|
KindSlice,
|
|
|
|
KindString,
|
|
|
|
KindStruct,
|
|
|
|
KindUnsafePointer,
|
|
|
|
|
2014-08-18 19:13:11 -06:00
|
|
|
KindDirectIface = 1<<5,
|
2014-07-29 01:01:02 -06:00
|
|
|
KindGCProg = 1<<6, // Type.gc points to GC program
|
2012-06-06 15:20:02 -06:00
|
|
|
KindNoPointers = 1<<7,
|
2014-08-18 19:13:11 -06:00
|
|
|
KindMask = (1<<5)-1,
|
2012-06-06 15:20:02 -06:00
|
|
|
};
|
|
|
|
|