summaryrefslogtreecommitdiff
path: root/src/lib/malloc.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2009-01-16 15:03:22 -0800
committerIan Lance Taylor <iant@golang.org>2009-01-16 15:03:22 -0800
commit8570e599dd704900cf28406329712d69369c7abf (patch)
tree2a3b29481f6e2cc91f4bd6c61a0ed9fcda5760d4 /src/lib/malloc.go
parent89b8541f9a70d59b0e7ebefb1190a32d4af1375c (diff)
downloadgolang-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.go2
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);