c68b41e23b78a5fa9468e8e6e65a6ca2232eb8a5
[ghc-hetmet.git] / ghc / compiler / parser / hschooks.h
1 /* -----------------------------------------------------------------------------
2  * $Id: hschooks.h,v 1.4 2002/04/22 14:54:10 simonmar Exp $
3  *
4  * Hooks into the RTS from the compiler.
5  *
6  * -------------------------------------------------------------------------- */
7
8 #include "HsFFI.h"
9 void enableTimingStats( void );
10 void setHeapSize( HsInt size );
11
12 // Out-of-line string functions, see PrimPacked.lhs
13 HsInt ghc_strlen( HsAddr a );
14 HsInt ghc_memcmp( HsAddr a1, HsAddr a2, HsInt len );
15 HsInt ghc_memcmp_off( HsAddr a1, HsInt i, HsAddr a2, HsInt len );