diff options
author | Sven Gothel <[email protected]> | 2019-12-06 08:36:19 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-12-06 08:36:19 +0100 |
commit | ddc29141207d9c69f8558265a464cdc4bc014d65 (patch) | |
tree | bf35b8c4de7b63cd5290fb5e14ec8bd49768dc66 /src/newt/native/NewtCommon.h | |
parent | de13e49aadd4b4df09eb1ab37c84cda404586ba5 (diff) |
Bug 1412 - JNI: NEWT Check & Handle Exception after calling back into Java (X11Display + X11Window)
Diffstat (limited to 'src/newt/native/NewtCommon.h')
-rw-r--r-- | src/newt/native/NewtCommon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newt/native/NewtCommon.h b/src/newt/native/NewtCommon.h index d4ce2f3e8..99f1440d3 100644 --- a/src/newt/native/NewtCommon.h +++ b/src/newt/native/NewtCommon.h @@ -39,6 +39,8 @@ jchar* NewtCommon_GetNullTerminatedStringChars(JNIEnv* env, jstring str); void NewtCommon_FatalError(JNIEnv *env, const char* msg, ...); void NewtCommon_throwNewRuntimeException(JNIEnv *env, const char* msg, ...); +void NewtCommon_ExceptionCheck0(JNIEnv *env); +void NewtCommon_ExceptionCheck1_throwNewRuntimeException(JNIEnv *env, const char* msg, ...); /** * |