diff options
author | Sven Gothel <[email protected]> | 2023-10-02 20:30:38 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-10-02 20:30:38 +0200 |
commit | e8c3c0382d58c8eabf4b96aa555683252c10d569 (patch) | |
tree | 0e953691aefe755f5b2b10798b498c3b8539680e /src/jogl/native/JoglCommon.h | |
parent | 3c13e7be0bcd7c5fca03f57cb1b0e3351c2ac3a9 (diff) |
Bug 1470 - FFmpeg / JNI: Perform exception check and rethrow for all Java Callbacks as recommended
Diffstat (limited to 'src/jogl/native/JoglCommon.h')
-rw-r--r-- | src/jogl/native/JoglCommon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jogl/native/JoglCommon.h b/src/jogl/native/JoglCommon.h index 2aeaf7d1d..09d0051e4 100644 --- a/src/jogl/native/JoglCommon.h +++ b/src/jogl/native/JoglCommon.h @@ -38,6 +38,8 @@ jchar* JoglCommon_GetNullTerminatedStringChars(JNIEnv* env, jstring str); void JoglCommon_FatalError(JNIEnv *env, const char* msg, ...); void JoglCommon_throwNewRuntimeException(JNIEnv *env, const char* msg, ...); +jboolean JoglCommon_ExceptionCheck0(JNIEnv *env); +jboolean JoglCommon_ExceptionCheck1_throwNewRuntimeException(JNIEnv *env, const char* msg, ...); /** * |