[project @ 2002-04-22 14:54:09 by simonmar]
[ghc-hetmet.git] / ghc / compiler / parser / hschooks.h
index fa78dcc..c68b41e 100644 (file)
@@ -1,5 +1,5 @@
 /* -----------------------------------------------------------------------------
- * $Id: hschooks.h,v 1.3 2000/12/20 09:56:26 simonmar Exp $
+ * $Id: hschooks.h,v 1.4 2002/04/22 14:54:10 simonmar Exp $
  *
  * Hooks into the RTS from the compiler.
  *
@@ -8,3 +8,8 @@
 #include "HsFFI.h"
 void enableTimingStats( void );
 void setHeapSize( HsInt size );
+
+// Out-of-line string functions, see PrimPacked.lhs
+HsInt ghc_strlen( HsAddr a );
+HsInt ghc_memcmp( HsAddr a1, HsAddr a2, HsInt len );
+HsInt ghc_memcmp_off( HsAddr a1, HsInt i, HsAddr a2, HsInt len );