Matteo Scandolo | a428586 | 2020-12-01 18:10:10 -0800 | [diff] [blame] | 1 | //+build go1.9 |
2 | |||||
3 | package reflect2 | ||||
4 | |||||
5 | import ( | ||||
6 | "unsafe" | ||||
7 | ) | ||||
8 | |||||
9 | //go:linkname makemap reflect.makemap | ||||
10 | func makemap(rtype unsafe.Pointer, cap int) (m unsafe.Pointer) | ||||
11 | |||||
12 | func makeMapWithSize(rtype unsafe.Pointer, cap int) unsafe.Pointer { | ||||
13 | return makemap(rtype, cap) | ||||
14 | } |