Fixes to std_map and multimap. There's still a problem
of const correctness in the std swig STL library. Need to bring it up in the swig-devel list. Added new functions to swig_assert. Changed some tests to reflect these changes. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9730 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b72d6a93af
commit
a100f16bbd
22 changed files with 366 additions and 135 deletions
|
|
@ -28,7 +28,7 @@ rescue TypeError
|
|||
# TypeError: allocator undefined for Abstract_inherit_ok::Foo
|
||||
exceptionRaised = true
|
||||
ensure
|
||||
swig_assert( exceptionRaised, "for !exceptionRaised" )
|
||||
swig_assert( "exceptionRaised", binding )
|
||||
end
|
||||
|
||||
#
|
||||
|
|
@ -43,6 +43,6 @@ begin
|
|||
rescue NameError
|
||||
exceptionRaised = true
|
||||
ensure
|
||||
swig_assert( !exceptionRaised, "for exceptionRaised" )
|
||||
swig_assert( "!exceptionRaised", binding )
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue