1 /* -----------------------------------------------------------------------------
2 * $Id: hschooks.h,v 1.4 2002/04/22 14:54:10 simonmar Exp $
4 * Hooks into the RTS from the compiler.
6 * -------------------------------------------------------------------------- */
9 void enableTimingStats( void );
10 void setHeapSize( HsInt size );
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 );