cpp: Use #pragma once instead of #ifndef guards
[ghc.git] / includes / rts / Main.h
1 /* -----------------------------------------------------------------------------
2 *
3 * (c) The GHC Team, 2009
4 *
5 * Entry point for standalone Haskell programs.
6 *
7 * ---------------------------------------------------------------------------*/
8
9 #pragma once
10
11 /* -----------------------------------------------------------------------------
12 * The entry point for Haskell programs that use a Haskell main function
13 * -------------------------------------------------------------------------- */
14
15 int hs_main (int argc, char *argv[], // program args
16 StgClosure *main_closure, // closure for Main.main
17 RtsConfig rts_config) // RTS configuration
18 GNUC3_ATTRIBUTE(__noreturn__);