equal
deleted
inserted
replaced
37 #include "nsk_tools.h" |
37 #include "nsk_tools.h" |
38 #include "jni_tools.h" |
38 #include "jni_tools.h" |
39 #include "JVMTITools.h" |
39 #include "JVMTITools.h" |
40 #include "jvmti_tools.h" |
40 #include "jvmti_tools.h" |
41 |
41 |
42 #ifdef __cplusplus |
|
43 extern "C" { |
42 extern "C" { |
44 #endif |
|
45 |
43 |
46 static jvmtiEnv *jvmti = NULL; /* JVMTI env */ |
44 static jvmtiEnv *jvmti = NULL; /* JVMTI env */ |
47 static jvmtiEventCallbacks callbacks; |
45 static jvmtiEventCallbacks callbacks; |
48 static jrawMonitorID eventLock; /* raw monitor used for exclusive ownership of HotSwap function */ |
46 static jrawMonitorID eventLock; /* raw monitor used for exclusive ownership of HotSwap function */ |
49 |
47 |
1269 return JNI_ERR; |
1267 return JNI_ERR; |
1270 |
1268 |
1271 return JNI_OK; |
1269 return JNI_OK; |
1272 } |
1270 } |
1273 |
1271 |
1274 #ifdef __cplusplus |
1272 } |
1275 } |
|
1276 #endif |
|