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:
parent
a358958e72
commit
2d24ca37d1
3 changed files with 21 additions and 1 deletions
|
|
@ -5,6 +5,10 @@ See the RELEASENOTES file for a summary of changes in each release.
|
||||||
Version 2.0.8 (in progress)
|
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
|
2012-08-05: wsfulton
|
||||||
[Perl] #3545877 - Don't undefine bool if defined by C99 stdbool.h - problem using
|
[Perl] #3545877 - Don't undefine bool if defined by C99 stdbool.h - problem using
|
||||||
Perl 5.16 and later.
|
Perl 5.16 and later.
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
{
|
||||||
|
};
|
||||||
|
%}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3728,7 +3728,6 @@ public:
|
||||||
Delete(ln);
|
Delete(ln);
|
||||||
Delete(arg);
|
Delete(arg);
|
||||||
Delete(c_decl);
|
Delete(c_decl);
|
||||||
Delete(c_param_type);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* header declaration, start wrapper definition */
|
/* header declaration, start wrapper definition */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue