From 596c16e0458060aec0c81cccaef3070a1d6daf81 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 23 Mar 2010 20:48:23 -0700 Subject: runtime: add memory profiling, disabled. no way to get the data out yet. add prototype for runtime.Callers, missing from last CL. R=r CC=golang-dev https://golang.org/cl/713041 --- src/pkg/runtime/runtime.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pkg/runtime/runtime.h') diff --git a/src/pkg/runtime/runtime.h b/src/pkg/runtime/runtime.h index 622f680388..c04693899f 100644 --- a/src/pkg/runtime/runtime.h +++ b/src/pkg/runtime/runtime.h @@ -359,7 +359,8 @@ byte* mchr(byte*, byte, byte*); void mcpy(byte*, byte*, uint32); int32 mcmp(byte*, byte*, uint32); void memmove(void*, void*, uint32); -void* mal(uint32); +void* mal(uintptr); +void* malx(uintptr size, int32 skip_delta); uint32 cmpstring(String, String); String gostring(byte*); String gostringw(uint16*); -- cgit v1.3