diff options
author | Ian Lance Taylor <iant@golang.org> | 2009-01-16 15:03:22 -0800 |
---|---|---|
committer | Ian Lance Taylor <iant@golang.org> | 2009-01-16 15:03:22 -0800 |
commit | 8570e599dd704900cf28406329712d69369c7abf (patch) | |
tree | 2a3b29481f6e2cc91f4bd6c61a0ed9fcda5760d4 /src/lib/malloc.go | |
parent | 89b8541f9a70d59b0e7ebefb1190a32d4af1375c (diff) | |
download | golang-8570e599dd704900cf28406329712d69369c7abf.tar.gz |
Change malloc.Lookup to return the size as uintptr rather than
uint64. This changes the Go code to be consistent with the C
code.
R=rsc
DELTA=6 (0 added, 0 deleted, 6 changed)
OCL=22983
CL=22987
Diffstat (limited to 'src/lib/malloc.go')
-rw-r--r-- | src/lib/malloc.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/malloc.go b/src/lib/malloc.go index f10720b4c..3b81b4ed0 100644 --- a/src/lib/malloc.go +++ b/src/lib/malloc.go @@ -16,4 +16,4 @@ export type Stats struct { export func Alloc(uint64) *byte; export func Free(*byte); export func GetStats() *Stats; -export func Lookup(*byte) (*byte, uint64); +export func Lookup(*byte) (*byte, uintptr); |