File: unsafe_link_gccgo.go

package info (click to toggle)
golang-github-modern-go-reflect2 1.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, bookworm-proposed-updates, forky, sid, trixie
  • size: 208 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 293 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
//go:build gccgo
// +build gccgo

package reflect2

import "unsafe"

//go:linkname unsafe_New reflect.unsafe__New
func unsafe_New(rtype unsafe.Pointer) unsafe.Pointer

//go:linkname unsafe_NewArray reflect.unsafe__NewArray
func unsafe_NewArray(rtype unsafe.Pointer, length int) unsafe.Pointer