From af346e4e038e67dfa2927f827e8ee658d81b05ed Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Thu, 24 Feb 2005 23:39:15 +0000 Subject: [PATCH] cosmetic updates git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6996 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/python/li_std_pair.i | 9 +++++++++ Examples/test-suite/python/template_static_runme.py | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/Examples/test-suite/python/li_std_pair.i b/Examples/test-suite/python/li_std_pair.i index 509993438..886bf1a4b 100644 --- a/Examples/test-suite/python/li_std_pair.i +++ b/Examples/test-suite/python/li_std_pair.i @@ -34,7 +34,16 @@ namespace std { %template(CIntPair) pair; %template() pair; + %template(ShortPair) pair; + %template(IntPair) pair; + %extend pair + { + %template(pair) pair; + } + + + %template(SIPair) pair; %template(CIPair) pair, int>; %template(SIIPair) pair, int>; diff --git a/Examples/test-suite/python/template_static_runme.py b/Examples/test-suite/python/template_static_runme.py index e7f17af38..226d675ee 100644 --- a/Examples/test-suite/python/template_static_runme.py +++ b/Examples/test-suite/python/template_static_runme.py @@ -1,3 +1,3 @@ from template_static import * -print Foo.bar_double(1) +Foo.bar_double(1)