summaryrefslogtreecommitdiff
path: root/libgo/go/runtime/iface_defs.go
blob: 69d52ef9a6b887421f528bc4ab1d0d14f59fd26f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2010 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.

package runtime

/*
 * Must match iface.c:/Itable and compilers.
 * NOTE: type.go has an Itable, that is the version of Itab used by the reflection code.
 */
type itab struct {
	Itype  *Type
	Type   *Type
	link   *itab
	bad    int32
	unused int32
	Fn     func() // TODO: [0]func()
}