cosmetic updates

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-02-24 23:39:15 +00:00
commit af346e4e03
2 changed files with 10 additions and 1 deletions

View file

@ -34,7 +34,16 @@
namespace std {
%template(CIntPair) pair<const int, const int>;
%template() pair<double, double>;
%template(ShortPair) pair<short, short>;
%template(IntPair) pair<int, int>;
%extend pair<int, int>
{
%template(pair) pair<short,short>;
}
%template(SIPair) pair<std::string, int>;
%template(CIPair) pair<std::complex<double>, int>;
%template(SIIPair) pair<std::pair<std::string, int>, int>;

View file

@ -1,3 +1,3 @@
from template_static import *
print Foo.bar_double(1)
Foo.bar_double(1)