github.com/hbdrawn/golang@v0.0.0-20141214014649-6b835209aba2/src/runtime/typekind.h (about) 1 // 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 5 // Must match runtime and reflect. 6 // Included by cmd/gc. 7 8 enum { 9 KindBool = 1, 10 KindInt, 11 KindInt8, 12 KindInt16, 13 KindInt32, 14 KindInt64, 15 KindUint, 16 KindUint8, 17 KindUint16, 18 KindUint32, 19 KindUint64, 20 KindUintptr, 21 KindFloat32, 22 KindFloat64, 23 KindComplex64, 24 KindComplex128, 25 KindArray, 26 KindChan, 27 KindFunc, 28 KindInterface, 29 KindMap, 30 KindPtr, 31 KindSlice, 32 KindString, 33 KindStruct, 34 KindUnsafePointer, 35 36 KindDirectIface = 1 << 5, 37 KindGCProg = 1 << 6, // Type.gc points to GC program 38 KindNoPointers = 1 << 7, 39 KindMask = (1 << 5) - 1, 40 };