From 99edd219d200168d17dbc33fab3978aed18366a5 Mon Sep 17 00:00:00 2001 From: Marcelo Matus Date: Thu, 3 Nov 2005 10:25:24 +0000 Subject: [PATCH] full fn call git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7782 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/python/profiletest_runme.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/Examples/test-suite/python/profiletest_runme.py b/Examples/test-suite/python/profiletest_runme.py index d9653664a..ecdaee8a6 100644 --- a/Examples/test-suite/python/profiletest_runme.py +++ b/Examples/test-suite/python/profiletest_runme.py @@ -1,7 +1,6 @@ -import _profiletest -#import profiletest +import profiletest -a = _profiletest.new_A() -b = _profiletest.new_B() -for i in range(0,10000000): - a = _profiletest.B_fn(b, a) +a = profiletest.A() +b = profiletest.B() +for i in range(0,1000000): + a = b.fn(a)