mirror of https://github.com/swig/swig
add more cases
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8868 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
37ae00fd6d
commit
347f2683fa
|
@ -74,6 +74,10 @@ namespace oss
|
|||
}
|
||||
|
||||
namespace planargraph { // geos.planargraph
|
||||
namespace algorithm { // geos.planargraph.algorithm
|
||||
class Bar {
|
||||
};
|
||||
}
|
||||
namespace algorithm { // geos.planargraph.algorithm
|
||||
|
||||
class Foo {
|
||||
|
|
|
@ -25,6 +25,7 @@ public:
|
|||
|
||||
class Bar {
|
||||
public:
|
||||
int duh1() { return 1; }
|
||||
int duh(int x) { return x; }
|
||||
double blah(double x) { return x; }
|
||||
};
|
||||
|
@ -40,6 +41,7 @@ public:
|
|||
|
||||
%extend FooBar
|
||||
{
|
||||
using Bar::duh1;
|
||||
using Bar::duh;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue