]> Cypherpunks repositories - gostls13.git/commit
change the representation of arrays in protobufs from *[]item to []item.
authorRob Pike <r@golang.org>
Fri, 23 Jan 2009 20:40:55 +0000 (12:40 -0800)
committerRob Pike <r@golang.org>
Fri, 23 Jan 2009 20:40:55 +0000 (12:40 -0800)
commit1b3299ed0beb81066ea2baef3bd9eaf9428c3d11
tree21a39f9d956b044bb82cd1a9a68a6f80761ee963
parent9e3b0f444ae27629b3e93b2e8d0d8ba0f6f939ba
change the representation of arrays in protobufs from *[]item to []item.
for simplicity of user's code, optional arrays of bytes also don't have a pointer.
requires adding a "Set()" method to arrays in reflect.
still to do: protocol compilers, google/net/rpc.

R=rsc
DELTA=227  (36 added, 95 deleted, 96 changed)
OCL=23387
CL=23389
src/lib/reflect/value.go