...
Run Format

Source file src/runtime/cgo/callbacks_traceback.go

Documentation: runtime/cgo

     1  // Copyright 2016 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  // +build darwin linux
     6  
     7  package cgo
     8  
     9  import _ "unsafe" // for go:linkname
    10  
    11  // Calls the traceback function passed to SetCgoTraceback.
    12  
    13  //go:cgo_import_static x_cgo_callers
    14  //go:linkname x_cgo_callers x_cgo_callers
    15  //go:linkname _cgo_callers _cgo_callers
    16  var x_cgo_callers byte
    17  var _cgo_callers = &x_cgo_callers
    18  

View as plain text