summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2009-08-26 14:40:34 -0700
committerIan Lance Taylor <iant@golang.org>2009-08-26 14:40:34 -0700
commit25a20f5707f055111259be32dcf9890111c823b0 (patch)
treed236183f10bcde25f2b344b0d0afa8f7302d5ff9
parentc7c535c73149d44df8fe0e4c1d90efb137df8fe9 (diff)
downloadgolang-25a20f5707f055111259be32dcf9890111c823b0.tar.gz
Restore comment line accidentally dropped in CL 33097.
R=rsc DELTA=1 (1 added, 0 deleted, 0 changed) OCL=33891 CL=33891
-rw-r--r--src/pkg/reflect/value.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pkg/reflect/value.go b/src/pkg/reflect/value.go
index 014ea933c..4ba1c2eec 100644
--- a/src/pkg/reflect/value.go
+++ b/src/pkg/reflect/value.go
@@ -409,6 +409,7 @@ type UnsafePointerValue struct {
// Get returns the underlying uintptr value.
// Get returns uintptr, not unsafe.Pointer, so that
// programs that do not import "unsafe" cannot
+// obtain a value of unsafe.Pointer type from "reflect".
func (v *UnsafePointerValue) Get() uintptr {
return uintptr(*(*unsafe.Pointer)(v.addr));
}