aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/NewtCommon.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-04-08 02:48:57 +0200
committerSven Gothel <[email protected]>2013-04-08 02:48:57 +0200
commit64fd6eef879f7453b491a9df421faf2d47da9d7f (patch)
treec05eff27240695ea5e14c5a384cdbce5dbaf6732 /src/newt/native/NewtCommon.h
parented596d9a329f1788979e148a4d09df7815ada527 (diff)
NEWT/Native: NewtCommon_GetJNIEnv(..) adding 'asDaemon' flag, used by all OSX JNI attachments to save time since detachment is skipped.
Diffstat (limited to 'src/newt/native/NewtCommon.h')
-rw-r--r--src/newt/native/NewtCommon.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/native/NewtCommon.h b/src/newt/native/NewtCommon.h
index 9a4e5ac70..9cc9e93a6 100644
--- a/src/newt/native/NewtCommon.h
+++ b/src/newt/native/NewtCommon.h
@@ -76,6 +76,6 @@ void NewtCommon_throwNewRuntimeException(JNIEnv *env, const char* msg, ...);
(*jvmHandle)->DetachCurrentThread(jvmHandle);
}
*/
-JNIEnv* NewtCommon_GetJNIEnv (JavaVM * jvmHandle, int jvmVersion, int * shallBeDetached);
+JNIEnv* NewtCommon_GetJNIEnv (JavaVM * jvmHandle, int jvmVersion, int asDaemon, int * shallBeDetached);
#endif