]> Cypherpunks repositories - gostls13.git/commit
reflect: document ptrdata field of rtype
authorSebastien Binet <seb.binet@gmail.com>
Tue, 18 Apr 2017 08:48:16 +0000 (10:48 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 18 Apr 2017 15:30:04 +0000 (15:30 +0000)
commit2ef340f271d0d893ff1dc3cb22dade27db149373
tree7afb635f94266001584445d859fe9c5ae7c75df4
parentbdf746caaa23ccf2bc7b7e2e123349133ce001a6
reflect: document ptrdata field of rtype

This CL adds a simple explanation about what means the ptrdata field of
the reflect.rtype type.
Also document that rtype needs to be kept in sync with the runtime._type
type that rtype mirrors.

Change-Id: Icd9663a2e4bb94d922a2417cfe4537861d2ccc97
Reviewed-on: https://go-review.googlesource.com/40917
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/reflect/type.go