Fix some usage of global scope operator ::

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@11719 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2009-11-03 19:14:37 +00:00
commit da1fc3ab8f
5 changed files with 49 additions and 0 deletions

View file

@ -74,3 +74,14 @@ struct X {
};
}
%inline %{
namespace SpaceMan {
typedef double SpaceManDouble;
}
using namespace ::SpaceMan; // global namespace prefix
SpaceManDouble useSpaceMan(SpaceManDouble s) { return s; }
%}