github.com/jxskiss/gopkg@v0.17.3/internal/linkname/go_below118.go (about)

     1  //go:build !go1.18
     2  // +build !go1.18
     3  
     4  package linkname
     5  
     6  import "unsafe"
     7  
     8  // Reflect_mapiterinit .
     9  // m escapes into the return value, but the caller of Reflect_mapiterinit
    10  // doesn't let the return value escape.
    11  //go:noescape
    12  //go:linkname Reflect_mapiterinit reflect.mapiterinit
    13  func Reflect_mapiterinit(rtype unsafe.Pointer, m unsafe.Pointer) unsafe.Pointer