fix overloading between unsigned long long and strings, as reported by Tim Lee.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@9036 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-03-27 20:11:52 +00:00
commit 54eb801392
4 changed files with 75 additions and 5 deletions

View file

@ -107,3 +107,23 @@ struct Structure {
const std::string Structure::ConstStaticMemberString = "const static member string";
%}
%inline %{
class Foo {
public:
unsigned long long test(unsigned long long l)
{
return l + 1;
}
std::string test(std::string l)
{
return l + "1";
}
unsigned long long testl(unsigned long long l)
{
return l + 1;
}
};
%}