aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.h
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-03-23 20:48:23 -0700
committerRuss Cox <rsc@golang.org>2010-03-23 20:48:23 -0700
commit596c16e0458060aec0c81cccaef3070a1d6daf81 (patch)
treeee543d5e212770ff8586f549e40803c644327594 /src/pkg/runtime/runtime.h
parent72bc37c1220088994649bb032316a42d2cd8ece7 (diff)
downloadgo-596c16e0458060aec0c81cccaef3070a1d6daf81.tar.xz
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
Diffstat (limited to 'src/pkg/runtime/runtime.h')
-rw-r--r--src/pkg/runtime/runtime.h3
1 files changed, 2 insertions, 1 deletions
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*);