mirror of
https://github.com/golang/go
synced 2024-10-04 20:31:22 -06:00
9204eb4d3c
R=rsc, dvyukov, remyoudompheng, dave, minux.ma, bradfitz CC=golang-dev https://golang.org/cl/6945069
16 lines
379 B
Go
16 lines
379 B
Go
// 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.
|
|
|
|
package runtime
|
|
|
|
// Called from C. Returns the Go type *m.
|
|
func gc_m_ptr(ret *interface{}) {
|
|
*ret = (*m)(nil)
|
|
}
|
|
|
|
// Called from C. Returns the Go type *itab.
|
|
func gc_itab_ptr(ret *interface{}) {
|
|
*ret = (*itab)(nil)
|
|
}
|