Fix invalid code sometimes being generated for C# director methods with many arguments

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13519 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2012-08-05 15:49:43 +00:00
commit 2d24ca37d1
3 changed files with 21 additions and 1 deletions

View file

@ -5,6 +5,10 @@ See the RELEASENOTES file for a summary of changes in each release.
Version 2.0.8 (in progress)
===========================
2012-08-05: wsfulton
[C#] Fix #3536360 - Invalid code sometimes being generated for director methods
with many arguments.
2012-08-05: wsfulton
[Perl] #3545877 - Don't undefine bool if defined by C99 stdbool.h - problem using
Perl 5.16 and later.

View file

@ -108,3 +108,20 @@ public:
%}
%feature(director) BaseClass;
%feature(director) DerivedClass;
%inline %{
class BaseClass
{
public:
virtual ~BaseClass() {};
virtual int dofoo(int& one, int& two, int& three) {return 0;}
};
class DerivedClass : public BaseClass
{
};
%}

View file

@ -3728,7 +3728,6 @@ public:
Delete(ln);
Delete(arg);
Delete(c_decl);
Delete(c_param_type);
}
/* header declaration, start wrapper definition */