C# exception handling correction

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10203 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-01-12 22:43:22 +00:00
commit e89a5119c3

View file

@ -31,8 +31,9 @@ public:
#endif
#if defined(SWIGCSHARP)
%typemap(csout) Foo * {
return new Bar($imcall, $owner);
%typemap(csout, excode=SWIGEXCODE) Foo * {
Bar ret = new Bar($imcall, $owner);$excode
return ret;
}
#endif