Fix multiple definitions of 'ExceptionMatches' when using directors and multiple modules.
Java problem, closes #353 and closes #355.
This commit is contained in:
parent
b28ea7d963
commit
25b48b85ec
2 changed files with 5 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ namespace Swig {
|
|||
};
|
||||
|
||||
// Helper method to determine if a Java throwable matches a particular Java class type
|
||||
bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) {
|
||||
SWIGINTERN bool ExceptionMatches(JNIEnv *jenv, jthrowable throwable, const char *classname) {
|
||||
bool matches = false;
|
||||
|
||||
if (throwable && jenv && classname) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue