From: Ken Thompson Date: Fri, 29 Jan 2010 01:14:29 +0000 (-0800) Subject: added StringHeader to reflect X-Git-Tag: weekly.2010-02-04~67 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d7a5ccf36e55c5bf3d0d48111cdfcad8d4e56d29;p=gostls13.git added StringHeader to reflect R=rsc CC=golang-dev https://golang.org/cl/194133 --- diff --git a/src/pkg/reflect/value.go b/src/pkg/reflect/value.go index 14596ad315..881d44fb2a 100644 --- a/src/pkg/reflect/value.go +++ b/src/pkg/reflect/value.go @@ -282,6 +282,11 @@ func (v *Int64Value) Set(x int64) { func (v *Int64Value) SetValue(x Value) { v.Set(x.(*Int64Value).Get()) } // StringValue represents a string value. +// runtime representation of slice +type StringHeader struct { + Data uintptr + Len int +} type StringValue struct { value }