mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
runtime: fix stringw test.
Null terminate string. Make it endian-agnostic. TBR=bradfitz R=golang-codereviews CC=golang-codereviews https://golang.org/cl/106060044
This commit is contained in:
parent
63393faedf
commit
2b309c6e22
2 changed files with 6 additions and 6 deletions
|
|
@ -91,6 +91,6 @@ func gogoBytes() int32
|
|||
|
||||
var GogoBytes = gogoBytes
|
||||
|
||||
func gostringW([]byte) string
|
||||
func gostringW([]uint16) string
|
||||
|
||||
var GostringW = gostringW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue