projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2003-05-23 08:28:48 by simonmar]
[ghc-hetmet.git]
/
ghc
/
rts
/
RtsUtils.h
diff --git
a/ghc/rts/RtsUtils.h
b/ghc/rts/RtsUtils.h
index
8825460
..
7b38afb
100644
(file)
--- a/
ghc/rts/RtsUtils.h
+++ b/
ghc/rts/RtsUtils.h
@@
-1,5
+1,5
@@
/* -----------------------------------------------------------------------------
/* -----------------------------------------------------------------------------
- * $Id: RtsUtils.h,v 1.12 2001/10/31 10:30:29 simonmar Exp $
+ * $Id: RtsUtils.h,v 1.16 2003/03/31 19:19:34 sof Exp $
*
* (c) The GHC Team, 1998-1999
*
*
* (c) The GHC Team, 1998-1999
*
@@
-7,11
+7,11
@@
*
* ---------------------------------------------------------------------------*/
*
* ---------------------------------------------------------------------------*/
+/* (Checked) dynamic allocation: */
extern void *stgMallocBytes(int n, char *msg);
extern void *stgMallocBytes(int n, char *msg);
-extern void *stgMallocWords(int n, char *msg);
extern void *stgReallocBytes(void *p, int n, char *msg);
extern void *stgReallocBytes(void *p, int n, char *msg);
-extern void *stgReallocWords(void *p, int n, char *msg);
extern void *stgCallocBytes(int n, int m, char *msg);
extern void *stgCallocBytes(int n, int m, char *msg);
+extern void stgFree(void* p);
extern void barf(char *s, ...) __attribute__((__noreturn__)) ;
extern void belch(char *s, ...);
extern void barf(char *s, ...) __attribute__((__noreturn__)) ;
extern void belch(char *s, ...);
@@
-32,6
+32,10
@@
extern void stg_exit(I_ n) __attribute__((noreturn));
char *time_str(void);
char *ullong_format_string(ullong, char *, rtsBool);
char *time_str(void);
char *ullong_format_string(ullong, char *, rtsBool);
+#ifdef PAR
ullong msTime(void);
ullong msTime(void);
+#endif
-
+#ifdef DEBUG
+extern void heapCheckFail( void );
+#endif