2014-04-11 Marc Glisse <marc.glisse@inria.fr>
[official-gcc.git] / libgo / go / runtime / mgc0.go
blobb15054662225636e1aeb3b1bc11a155d0e15b4f2
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.
5 package runtime
7 // Called from C. Returns the Go type *m.
8 func gc_m_ptr(ret *interface{}) {
9 *ret = (*m)(nil)
12 // Called from C. Returns the Go type *itab.
13 func gc_itab_ptr(ret *interface{}) {
14 *ret = (*itab)(nil)