Update to current version of Go library (revision 94d654be2064).
From-SVN: r171076
This commit is contained in:
parent
f617201f55
commit
5133f00ef8
293 changed files with 16312 additions and 4920 deletions
|
@ -16,7 +16,7 @@ __go_byte_array_to_string (const void* p, size_t len)
|
|||
struct __go_string ret;
|
||||
|
||||
bytes = (const unsigned char *) p;
|
||||
retdata = runtime_mallocgc (len, RefNoPointers, 1, 0);
|
||||
retdata = runtime_mallocgc (len, FlagNoPointers, 1, 0);
|
||||
__builtin_memcpy (retdata, bytes, len);
|
||||
ret.__data = retdata;
|
||||
ret.__length = len;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue