* codegen_ncode_increase: Typo.
[cacao.git] / src / cacao / cacao.h
index 47abd97d755b497d96fbd197f8416af2490dad57..cf13b4f12021b203807e3ae83d04fb436af5311e 100644 (file)
@@ -1,10 +1,9 @@
-/* main.h - main header, contains global variables
+/* cacao/cacao.h - main header, contains global variables
 
-   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
-   Institut f. Computersprachen, TU Wien
-   R. Grafl, A. Krall, C. Kruegel, C. Oates, R. Obermaisser, M. Probst,
-   S. Ring, E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich,
-   J. Wenninger
+   Copyright (C) 1996-2005 R. Grafl, A. Krall, C. Kruegel, C. Oates,
+   R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
+   C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
+   Institut f. Computersprachen - TU Wien
 
    This file is part of CACAO.
 
 
    Authors: Christian Thalinger
 
-   $Id: cacao.h 1359 2004-07-28 10:48:36Z twisti $
+   $Id: cacao.h 4004 2005-12-22 16:08:57Z twisti $
 
 */
 
 
-#ifndef _MAIN_H
-#define _MAIN_H
+#ifndef _CACAO_H
+#define _CACAO_H
 
-#include "global.h"
+#include "native/jni.h"
+#include "vm/global.h"
 
 
-/* global variables */
+/* global variables ***********************************************************/
+
+extern u1 *intrp_main_stack;
+
+extern bool cacao_exiting;
+
+extern JavaVM *jvm;
+extern JNIEnv *env;
 
-extern char *classpath;
 extern char *mainstring;    /* class.method with main method */
 
 
-/* function prototypes */
+/* function prototypes ********************************************************/
 
 void cacao_exit(s4 status);
 void cacao_shutdown(s4 status);
 
-#endif /* _MAIN_H */
+#endif /* _CACAO_H */
 
 
 /*