Fix multiple definitions of 'ExceptionMatches' when using directors and multiple modules.

Java problem, closes #353 and closes #355.
This commit is contained in:
William S Fulton 2015-04-11 22:51:29 +01:00
commit 25b48b85ec
2 changed files with 5 additions and 1 deletions

View file

@ -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) {