
#import <Cocoa/Cocoa.h>

#include <stdio.h>
#include "Process_stub.h"
#include "RtsOpts.h"

const rtsOptsEnabledEnum rtsOptsEnabled = rtsOptsAll;
char* ghc_rts_opts	= "-N4 -qg";

int main(int argc, char *argv[])
{
	// Start up the Haskell runtime system.
	hs_init(&argc, &argv);

	// Run the Cocoa application.
	int code	= NSApplicationMain(argc,  (const char **) argv);

	hs_exit();
	return code;
}
