go_below_19.go 244 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) (m unsafe.Pointer)
  8. func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer {
  9. return makemap(rtype)
  10. }