Commit 7aa38e04 authored by simonmar's avatar simonmar
Browse files

[project @ 2004-02-26 16:36:21 by simonmar]

Add the usual multi-slurp protection
parent 7452ddfa
/* -----------------------------------------------------------------------------
* $Id: RtsUtils.h,v 1.19 2003/11/12 17:49:10 sof Exp $
* $Id: RtsUtils.h,v 1.20 2004/02/26 16:36:21 simonmar Exp $
*
* (c) The GHC Team, 1998-1999
*
......@@ -7,6 +7,9 @@
*
* ---------------------------------------------------------------------------*/
#ifndef RTSUTILS_H
#define RTSUTILS_H
/* (Checked) dynamic allocation: */
extern void *stgMallocBytes(int n, char *msg);
extern void *stgReallocBytes(void *p, int n, char *msg);
......@@ -39,3 +42,5 @@ extern void heapCheckFail( void );
extern void* __hscore_get_saved_termios(int fd);
extern void __hscore_set_saved_termios(int fd, void* ts);
#endif // RTSUTILS_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment