summaryrefslogtreecommitdiff
path: root/compiler/parser/cutils.h
blob: 0c8ab12a2cf0bf2eeaae4add4ad6ebd2634ee8ed (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 compiler/utils/FastString.hs
HsInt ghc_strlen( HsAddr a );
HsInt ghc_memcmp( HsAddr a1, HsAddr a2, HsInt len );


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