X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fparser%2Fhschooks.h;h=c68b41e23b78a5fa9468e8e6e65a6ca2232eb8a5;hb=845db8182942e006a9164e41e9839adb39f24268;hp=fa78dcce23aed7cedc4b254f93a7fd747d63a51f;hpb=e6312f8c083dcf7e08d1b085e2d3cdbebd663795;p=ghc-hetmet.git diff --git a/ghc/compiler/parser/hschooks.h b/ghc/compiler/parser/hschooks.h index fa78dcc..c68b41e 100644 --- a/ghc/compiler/parser/hschooks.h +++ b/ghc/compiler/parser/hschooks.h @@ -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 );