-/* main.c - main header, contains global variables
+/* main.h - main header, contains global variables
Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
Institut f. Computersprachen, TU Wien
Authors: Christian Thalinger
- $Id: main.h 1094 2004-05-27 15:52:27Z twisti $
+ $Id: main.h 1359 2004-07-28 10:48:36Z twisti $
*/
#include "global.h"
-/* global variables */
-
-extern bool compileall;
-extern bool verbose;
-extern bool runverbose;
-extern bool verboseexception;
-extern bool collectverbose;
-
-extern bool loadverbose; /* Print debug messages during loading */
-extern bool linkverbose;
-extern bool initverbose; /* Log class initialization */
-
-extern bool opt_rt;
-extern bool opt_xta;
-extern bool opt_vta;
-
-extern bool opt_liberalutf; /* Don't check overlong UTF-8 sequences */
-
-extern bool showmethods;
-extern bool showconstantpool;
-extern bool showutf;
-
-extern bool compileverbose;
-extern bool showstack;
-extern bool showdisassemble;
-extern bool showddatasegment;
-extern bool showintermediate;
-extern bool useinlining;
-extern bool inlinevirtuals;
-extern bool inlineexceptions;
-extern bool inlineparamopt;
-extern bool inlineoutsiders;
-
-extern bool checkbounds;
-extern bool checknull;
-extern bool opt_noieee;
-extern bool checksync;
-extern bool opt_loops;
-
-extern bool makeinitializations;
-
-extern bool getloadingtime;
-extern s8 loadingtime;
-
-extern bool getcompilingtime;
-extern s8 compilingtime;
+/* global variables */
-extern int has_ext_instr_set;
+extern char *classpath;
+extern char *mainstring; /* class.method with main method */
-extern bool opt_stat;
-extern bool opt_eager;
+/* function prototypes */
-extern char *mainstring; /* class.method with main method */
+void cacao_exit(s4 status);
+void cacao_shutdown(s4 status);
#endif /* _MAIN_H */