* src/native/native.c: Removed all native-includes.
[cacao.git] / src / native / vm / nativevm.h
1 /* src/native/vm/nativevm.h - register the native functions
2
3    Copyright (C) 2007 R. Grafl, A. Krall, C. Kruegel,
4    C. Oates, R. Obermaisser, M. Platter, M. Probst, S. Ring,
5    E. Steiner, C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich,
6    J. Wenninger, Institut f. Computersprachen - TU Wien
7
8    This file is part of CACAO.
9
10    This program is free software; you can redistribute it and/or
11    modify it under the terms of the GNU General Public License as
12    published by the Free Software Foundation; either version 2, or (at
13    your option) any later version.
14
15    This program is distributed in the hope that it will be useful, but
16    WITHOUT ANY WARRANTY; without even the implied warranty of
17    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18    General Public License for more details.
19
20    You should have received a copy of the GNU General Public License
21    along with this program; if not, write to the Free Software
22    Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23    02110-1301, USA.
24
25    $Id: native.c 7906 2007-05-14 17:25:33Z twisti $
26
27 */
28
29
30 #ifndef _NATIVEVM_H
31 #define _NATIVEVM_H
32
33 #include "config.h"
34 #include "vm/types.h"
35
36 /* function prototypes ********************************************************/
37
38 void nativevm_init(void);
39
40 #if defined(ENABLE_JAVASE)
41 # if defined(WITH_CLASSPATH_GNU)
42 void _Jv_gnu_classpath_VMStackWalker_init();
43 void _Jv_gnu_classpath_VMSystemProperties_init();
44 void _Jv_gnu_java_lang_management_VMClassLoadingMXBeanImpl_init();
45 void _Jv_gnu_java_lang_management_VMMemoryMXBeanImpl_init();
46 void _Jv_gnu_java_lang_management_VMRuntimeMXBeanImpl_init();
47 void _Jv_gnu_java_lang_management_VMThreadMXBeanImpl_init();
48 void _Jv_java_lang_VMClass_init();
49 void _Jv_java_lang_VMClassLoader_init();
50 void _Jv_java_lang_VMObject_init();
51 void _Jv_java_lang_VMRuntime_init();
52 void _Jv_java_lang_VMString_init();
53 void _Jv_java_lang_VMSystem_init();
54 void _Jv_java_lang_VMThread_init();
55 void _Jv_java_lang_VMThrowable_init();
56 void _Jv_java_lang_management_VMManagementFactory_init();
57 void _Jv_java_lang_reflect_Constructor_init();
58 void _Jv_java_lang_reflect_Field_init();
59 void _Jv_java_lang_reflect_Method_init();
60 void _Jv_java_lang_reflect_VMProxy_init();
61 void _Jv_java_security_VMAccessController_init();
62 void _Jv_sun_misc_Unsafe_init();
63 # else
64 #  error unknown classpath configuration
65 # endif
66 #elif defined(ENABLE_JAVAME_CLDC1_1)
67 void _Jv_com_sun_cldc_io_ResourceInputStream_init();
68 void _Jv_com_sun_cldc_io_j2me_socket_Protocol_init();
69 void _Jv_com_sun_cldchi_io_ConsoleOutputStream_init();
70 void _Jv_com_sun_cldchi_jvm_JVM_init();
71 void _Jv_java_lang_Class_init();
72 void _Jv_java_lang_Double_init();
73 void _Jv_java_lang_Float_init();
74 void _Jv_java_lang_Math_init();
75 void _Jv_java_lang_Object_init();
76 void _Jv_java_lang_Runtime_init();
77 void _Jv_java_lang_String_init();
78 void _Jv_java_lang_System_init();
79 void _Jv_java_lang_Thread_init();
80 void _Jv_java_lang_Throwable_init();
81 #else
82 # error unknown Java configuration
83 #endif
84
85 #endif /* _NATIVEVM_H */
86
87 /*
88  * These are local overrides for various environment variables in Emacs.
89  * Please do not remove this and leave it at the end of the file, where
90  * Emacs will automagically detect them.
91  * ---------------------------------------------------------------------
92  * Local variables:
93  * mode: c
94  * indent-tabs-mode: t
95  * c-basic-offset: 4
96  * tab-width: 4
97  * End:
98  */