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:
William S Fulton 2005-12-23 10:25:30 +00:00
commit 62e67b7fe2

View file

@ -243,7 +243,7 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_$module(
if (pendingException != null)
throw new ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e);
pendingException = e;
lock(typeof($modulePINVOKE)) {
lock(typeof($imclassname)) {
numExceptionsPending++;
}
}
@ -254,7 +254,7 @@ SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_$module(
if (pendingException != null) {
e = pendingException;
pendingException = null;
lock(typeof($modulePINVOKE)) {
lock(typeof($imclassname)) {
numExceptionsPending--;
}
}