github.com/rohankumardubey/syslog-redirector-golang@v0.0.0-20140320174030-4859f03d829a/src/pkg/runtime/mgc0.go (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  package runtime
     6  
     7  // Called from C. Returns the Go type *m.
     8  func gc_m_ptr(ret *interface{}) {
     9  	*ret = (*m)(nil)
    10  }
    11  
    12  // Called from C. Returns the Go type *itab.
    13  func gc_itab_ptr(ret *interface{}) {
    14  	*ret = (*itab)(nil)
    15  }