go_above_19.go 257 B

1234567891011121314
  1. //+build go1.9
  2. package reflect2
  3. import (
  4. "unsafe"
  5. )
  6. //go:linkname makemap reflect.makemap
  7. func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer)
  8. func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer {
  9. return makemap(rtype, cap)
  10. }