New $imclassname special variable to enable changing the intermediary class name
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8056 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c26263a2f4
commit
62e67b7fe2
1 changed files with 2 additions and 2 deletions
|
|
@ -243,7 +243,7 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_$module(
|
||||||
if (pendingException != null)
|
if (pendingException != null)
|
||||||
throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
|
throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
|
||||||
pendingException = e;
|
pendingException = e;
|
||||||
lock(typeof($modulePINVOKE)) {
|
lock(typeof($imclassname)) {
|
||||||
numExceptionsPending++;
|
numExceptionsPending++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -254,7 +254,7 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_$module(
|
||||||
if (pendingException != null) {
|
if (pendingException != null) {
|
||||||
e = pendingException;
|
e = pendingException;
|
||||||
pendingException = null;
|
pendingException = null;
|
||||||
lock(typeof($modulePINVOKE)) {
|
lock(typeof($imclassname)) {
|
||||||
numExceptionsPending--;
|
numExceptionsPending--;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue