1
0
mirror of https://github.com/golang/go synced 2024-11-21 19:54:41 -07:00

added StringHeader to reflect

R=rsc
CC=golang-dev
https://golang.org/cl/194133
This commit is contained in:
Ken Thompson 2010-01-28 17:14:29 -08:00
parent 77053797e0
commit d7a5ccf36e

View File

@ -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
}