mirror of
https://github.com/golang/go
synced 2024-11-21 20:04:44 -07:00
added StringHeader to reflect
R=rsc CC=golang-dev https://golang.org/cl/194133
This commit is contained in:
parent
77053797e0
commit
d7a5ccf36e
@ -282,6 +282,11 @@ func (v *Int64Value) Set(x int64) {
|
|||||||
func (v *Int64Value) SetValue(x Value) { v.Set(x.(*Int64Value).Get()) }
|
func (v *Int64Value) SetValue(x Value) { v.Set(x.(*Int64Value).Get()) }
|
||||||
|
|
||||||
// StringValue represents a string value.
|
// StringValue represents a string value.
|
||||||
|
// runtime representation of slice
|
||||||
|
type StringHeader struct {
|
||||||
|
Data uintptr
|
||||||
|
Len int
|
||||||
|
}
|
||||||
type StringValue struct {
|
type StringValue struct {
|
||||||
value
|
value
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user