Skip to content
Snippets Groups Projects
Commit 640f8918 authored by Keith Seitz's avatar Keith Seitz Committed by Keith Seitz
Browse files

From Macro Trudel <mtrudel@gmx.ch>:

        * gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
        Use JNICALL.

From-SVN: r120946
parent f85242f0
No related branches found
No related tags found
No related merge requests found
2007-01-18 Keith Seitz <keiths@redhat.com>
From Macro Trudel <mtrudel@gmx.ch>:
* gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB):
Use JNICALL.
2007-01-18 Marco Trudel <mtrudel@gmx.ch> 2007-01-18 Marco Trudel <mtrudel@gmx.ch>
* jni.cc (_Jv_JNI_FindClass): Initialize class. * jni.cc (_Jv_JNI_FindClass): Initialize class.
......
...@@ -38,7 +38,7 @@ using namespace gnu::classpath::jdwp::event; ...@@ -38,7 +38,7 @@ using namespace gnu::classpath::jdwp::event;
using namespace gnu::classpath::jdwp::util; using namespace gnu::classpath::jdwp::util;
// Forward declarations // Forward declarations
static void jdwpVMInitCB (jvmtiEnv *env, JNIEnv *jni_env, jthread thread); static void JNICALL jdwpVMInitCB (jvmtiEnv *, JNIEnv *, jthread);
#define DEFINE_CALLBACK(Cb,Event) Cb.Event = jdwp ## Event ## CB #define DEFINE_CALLBACK(Cb,Event) Cb.Event = jdwp ## Event ## CB
#define ENABLE_EVENT(Event,Thread) \ #define ENABLE_EVENT(Event,Thread) \
...@@ -359,7 +359,7 @@ gnu::classpath::jdwp::VMVirtualMachine::getSourceFile (jclass clazz) ...@@ -359,7 +359,7 @@ gnu::classpath::jdwp::VMVirtualMachine::getSourceFile (jclass clazz)
return NULL; return NULL;
} }
static void static void JNICALL
jdwpVMInitCB (MAYBE_UNUSED jvmtiEnv *env, MAYBE_UNUSED JNIEnv *jni_env, jdwpVMInitCB (MAYBE_UNUSED jvmtiEnv *env, MAYBE_UNUSED JNIEnv *jni_env,
jthread thread) jthread thread)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment