fix nested namespace issue reported by Charlie

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8863 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-22 17:55:13 +00:00
commit 79927c9b19
2 changed files with 36 additions and 1 deletions

View file

@ -60,3 +60,38 @@ namespace oss
{
%template(hi1_hi0) hi1<hello::Hi0 >;
}
%rename(MyFoo) geos::algorithm::Foo;
%inline
{
namespace geos {
namespace algorithm {
class Foo
{
};
}
namespace planargraph { // geos.planargraph
namespace algorithm { // geos.planargraph.algorithm
class Foo {
public:
typedef int size_type;
};
}
namespace algorithm { // geos.planargraph.algorithm
class ConnectedSubgraphFinder : public Foo {
public:
ConnectedSubgraphFinder(size_type)
{
}
};
}
}
}
}