a33e4bcfd7bc958ed6942ff2ea8ef211110990eb
[cacao.git] / src / native / vm / java_lang_Object.h
1 /* src/native/vm/java_lang_Object.h - java/lang/Object functions
2
3    Copyright (C) 2006, 2007 R. Grafl, A. Krall, C. Kruegel, C. Oates,
4    R. Obermaisser, M. Platter, M. Probst, S. Ring, E. Steiner,
5    C. Thalinger, D. Thuernbeck, P. Tomsich, C. Ullrich, J. Wenninger,
6    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: java_lang_VMObject.c 6213 2006-12-18 17:36:06Z twisti $
26
27 */
28
29
30 #ifndef _JV_JAVA_LANG_OBJECT_H
31 #define _JV_JAVA_LANG_OBJECT_H
32
33 #include "config.h"
34 #include "vm/types.h"
35
36 #include "native/jni.h"
37
38 #if defined(ENABLE_JAVASE)
39 # include "native/include/java_lang_String.h"           /* required by j.l.CL */
40
41 # if defined(WITH_CLASSPATH_SUN)
42 #  include "native/include/java_nio_ByteBuffer.h"       /* required by j.l.CL */
43 # endif
44
45 # include "native/include/java_lang_ClassLoader.h"       /* required by j.l.C */
46 # include "native/include/java_lang_Cloneable.h"
47 #endif
48
49 #include "native/include/java_lang_Class.h"
50
51 #include "native/include/java_lang_Object.h"
52
53
54 /* function prototypes ********************************************************/
55
56 java_lang_Class  *_Jv_java_lang_Object_getClass(java_lang_Object *obj);
57 void              _Jv_java_lang_Object_notify(java_lang_Object *this);
58 void              _Jv_java_lang_Object_notifyAll(java_lang_Object *this);
59 void              _Jv_java_lang_Object_wait(java_lang_Object *o, s8 ms, s4 ns);
60
61 #if defined(ENABLE_JAVASE)
62 java_lang_Object *_Jv_java_lang_Object_clone(java_lang_Cloneable *this);
63 #endif
64
65 #endif /* _JV_JAVA_LANG_OBJECT_H */
66
67
68 /*
69  * These are local overrides for various environment variables in Emacs.
70  * Please do not remove this and leave it at the end of the file, where
71  * Emacs will automagically detect them.
72  * ---------------------------------------------------------------------
73  * Local variables:
74  * mode: c
75  * indent-tabs-mode: t
76  * c-basic-offset: 4
77  * tab-width: 4
78  * End:
79  */