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
2 changed files with 6 additions and 0 deletions
|
|
@ -74,6 +74,10 @@ namespace oss
|
||||||
}
|
}
|
||||||
|
|
||||||
namespace planargraph { // geos.planargraph
|
namespace planargraph { // geos.planargraph
|
||||||
|
namespace algorithm { // geos.planargraph.algorithm
|
||||||
|
class Bar {
|
||||||
|
};
|
||||||
|
}
|
||||||
namespace algorithm { // geos.planargraph.algorithm
|
namespace algorithm { // geos.planargraph.algorithm
|
||||||
|
|
||||||
class Foo {
|
class Foo {
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ public:
|
||||||
|
|
||||||
class Bar {
|
class Bar {
|
||||||
public:
|
public:
|
||||||
|
int duh1() { return 1; }
|
||||||
int duh(int x) { return x; }
|
int duh(int x) { return x; }
|
||||||
double blah(double x) { return x; }
|
double blah(double x) { return x; }
|
||||||
};
|
};
|
||||||
|
|
@ -40,6 +41,7 @@ public:
|
||||||
|
|
||||||
%extend FooBar
|
%extend FooBar
|
||||||
{
|
{
|
||||||
|
using Bar::duh1;
|
||||||
using Bar::duh;
|
using Bar::duh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue