mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
added StringHeader to reflect
R=rsc CC=golang-dev https://golang.org/cl/194133
This commit is contained in:
parent
77053797e0
commit
d7a5ccf36e
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue