fix using + extend as reported by William
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8859 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
fdb5c5ccd5
commit
0b268dccf4
3 changed files with 25 additions and 1 deletions
|
|
@ -25,6 +25,7 @@ public:
|
|||
|
||||
class Bar {
|
||||
public:
|
||||
int duh(int x) { return x; }
|
||||
double blah(double x) { return x; }
|
||||
};
|
||||
|
||||
|
|
@ -37,3 +38,9 @@ public:
|
|||
|
||||
%}
|
||||
|
||||
%extend FooBar
|
||||
{
|
||||
using Bar::duh;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue