Rename fixes to STL.

Removed object reporting in non-verbose from 
newobject demos.
Made wstring treat them as normal strings as
advertised.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-05-05 00:46:20 +00:00
commit 81c84b7e8c
16 changed files with 131 additions and 125 deletions

View file

@ -26,7 +26,7 @@ include Newobject1
GC.track_class = Foo
GC.start
100.times { foo1 = Foo.makeFoo; foo2 = foo1.makeMore }
GC.stats
GC.stats if $VERBOSE
swig_assert( 'Foo.fooCount == 200', binding, "but is #{Foo.fooCount}" )
GC.start
swig_assert( 'Foo.fooCount <= 2', binding, "but is #{Foo.fooCount}" )

View file

@ -20,7 +20,7 @@ include Newobject2
GC.track_class = Foo
GC.stats
100.times { foo1 = makeFoo }
GC.stats
GC.stats if $VERBOSE
swig_assert( 'fooCount == 100', nil, "but is #{fooCount}" )
GC.start
swig_assert( 'fooCount <= 1', nil, "but is #{fooCount}" )