mirror of
https://github.com/golang/go
synced 2024-10-06 01:21:21 -06:00
6a2b0c0b6d
This memory is untyped and can't be used anymore. The next version of SWIG won't need it. Change-Id: I592b287c5f5186975ee09a9b28d8efe3b57134e7 Reviewed-on: https://go-review.googlesource.com/8956 Reviewed-by: Ian Lance Taylor <iant@golang.org>
14 lines
318 B
Go
14 lines
318 B
Go
// Copyright 2011 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
|
|
|
|
// These functions are called from C code via cgo/callbacks.go.
|
|
|
|
// Panic.
|
|
|
|
func _cgo_panic_internal(p *byte) {
|
|
panic(gostringnocopy(p))
|
|
}
|