Added standard includes, which are needed.
[cacao.git] / nat / VMObjectStreamClass.c
1 /* class: java/lang/ObjectStreamClass */
2
3
4 #include "jni.h"
5 #include "types.h"
6 #include "loader.h"
7 #include "toolbox/loging.h"
8 #include "java_lang_Class.h"
9
10
11 /*
12  * Class:     java_io_VMObjectStreamClass
13  * Method:    hasClassInitializer
14  * Signature: (Ljava/lang/Class;)Z
15  */
16 JNIEXPORT s4 JNICALL Java_java_io_VMObjectStreamClass_hasClassInitializer(JNIEnv *env, jclass clazz, struct java_lang_Class* par1)
17 {
18         log_text("Java_java_io_VMOBjectStreamClass_hasClassInitializer");
19
20         return (class_findmethodIndex(par1, clinit_name(), clinit_desc()) != -1);
21 }
22
23
24 /*
25  * These are local overrides for various environment variables in Emacs.
26  * Please do not remove this and leave it at the end of the file, where
27  * Emacs will automagically detect them.
28  * ---------------------------------------------------------------------
29  * Local variables:
30  * mode: c
31  * indent-tabs-mode: t
32  * c-basic-offset: 4
33  * tab-width: 4
34  * End:
35  */