mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: rename ptrsize to ptrdata
I forgot there is already a ptrSize constant. Rename field to avoid some confusion. Change-Id: I098fdcc8afc947d6c02c41c6e6de24624cc1c8ff Reviewed-on: https://go-review.googlesource.com/9700 Reviewed-by: Austin Clements <austin@google.com>
This commit is contained in:
parent
92715d7780
commit
ceefebd795
3 changed files with 13 additions and 13 deletions
|
|
@ -13,7 +13,7 @@ import "unsafe"
|
|||
// ../reflect/type.go:/^type.rtype.
|
||||
type _type struct {
|
||||
size uintptr
|
||||
ptrsize uintptr // Bytes of prefix containing pointer slots.
|
||||
ptrdata uintptr // size of memory prefix holding all pointers
|
||||
hash uint32
|
||||
_unused uint8
|
||||
align uint8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue