summaryrefslogtreecommitdiff
path: root/rts/RtsMain.h
blob: e004480ccee2035cfb618c51fa06094c7ec9a143 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* -----------------------------------------------------------------------------
 *
 * (c) The GHC Team, 2009
 *
 * Entry point for standalone Haskell programs.
 *
 * ---------------------------------------------------------------------------*/

#ifndef RTSMAIN_H
#define RTSMAIN_H

/* -----------------------------------------------------------------------------
 * The entry point for Haskell programs that use a Haskell main function
 * -------------------------------------------------------------------------- */

int hs_main(int argc, char *argv[], StgClosure *main_closure)
   GNUC3_ATTRIBUTE(__noreturn__);

#endif /* RTSMAIN_H */