Commit d7a5ccf3 authored by Ken Thompson's avatar Ken Thompson

added StringHeader to reflect

R=rsc
CC=golang-dev
https://golang.org/cl/194133
parent 77053797
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment