
This ports https://go.dev/cl/421879 to libgo. This is a quick port to update gofrontend to work with the version of cgo in gc mainline. A more complete port will follow, changing the gc version of cmd/cgo to choose an approach based on feature testing the gccgo in use. Updates golang/go#46731 Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/432338
18 lines
486 B
Go
18 lines
486 B
Go
// Copyright 2010 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 cgo contains runtime support for code generated
|
|
by the cgo tool. See the documentation for the cgo command
|
|
for details on using cgo.
|
|
*/
|
|
package cgo
|
|
|
|
// Incomplete is used specifically for the semantics of incomplete C types.
|
|
//
|
|
//go:notinheap
|
|
type Incomplete struct {
|
|
// _ sys.NotInHeap
|
|
_ struct{ _ struct{} }
|
|
}
|