summaryrefslogtreecommitdiff
path: root/compiler/parser/cutils.h
blob: 95a10c59f9c5b8978ab502eea11c1214934c0130 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* -----------------------------------------------------------------------------
 *
 * Utility C functions.
 *
 * -------------------------------------------------------------------------- */

#include "HsFFI.h"

// Out-of-line string functions, see PrimPacked.lhs
HsInt ghc_strlen( HsAddr a );
HsInt ghc_memcmp( HsAddr a1, HsAddr a2, HsInt len );


void enableTimingStats( void );
void setHeapSize( HsInt size );