Add Swig::DirectorException directorthrows typemap for Java
For use with a global %catches(Swig::DirectorException)
This commit is contained in:
parent
eef3e7aa8f
commit
406c7a732a
2 changed files with 6 additions and 1 deletions
|
|
@ -403,6 +403,7 @@ namespace Swig {
|
|||
};
|
||||
|
||||
// Helper method to determine if a Java throwable matches a particular Java class type
|
||||
// Note side effect of clearing any pending exceptions
|
||||
SWIGINTERN bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) {
|
||||
bool matches = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue