• Russ Cox's avatar
    runtime: prepare for 64-bit ints · 0b08c948
    Russ Cox authored
    This CL makes the runtime understand that the type of
    the len or cap of a map, slice, or string is 'int', not 'int32',
    and it is also careful to distinguish between function arguments
    and results of type 'int' vs type 'int32'.
    
    In the runtime, the new typedefs 'intgo' and 'uintgo' refer
    to Go int and uint. The C types int and uint continue to be
    unavailable (cause intentional compile errors).
    
    This CL does not change the meaning of int, but it should make
    the eventual change of the meaning of int on amd64 a bit
    smoother.
    
    Update #2188.
    
    R=iant, r, dave, remyoudompheng
    CC=golang-dev
    https://golang.org/cl/6551067
    0b08c948
Name
Last commit
Last update
..
README Loading commit data...
a.h Loading commit data...
arg.h Loading commit data...
buf.c Loading commit data...
build.c Loading commit data...
buildgc.c Loading commit data...
buildruntime.c Loading commit data...
goc2c.c Loading commit data...
main.c Loading commit data...
plan9.c Loading commit data...
unix.c Loading commit data...
windows.c Loading commit data...