From Macro Trudel <mtrudel@gmx.ch>:
* gnu/classpath/jdwp/natVMVirtualMachine.cc (jdwpVMInitCB): Use JNICALL. From-SVN: r120946
This commit is contained in:
parent
f85242f0ce
commit
640f891823
@ -1,3 +1,9 @@
|
|||||||
|
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;
|
|||||||
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)
|
|||||||
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)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user