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
|
|
@ -29,7 +29,7 @@ rescue TypeError
|
|||
# TypeError: allocator undefined for Abstract_inherit::Foo
|
||||
exceptionRaised = true
|
||||
ensure
|
||||
swig_assert( exceptionRaised, "exceptionRaised")
|
||||
swig_assert( "exceptionRaised", binding )
|
||||
end
|
||||
|
||||
exceptionRaised = false
|
||||
|
|
@ -42,7 +42,7 @@ rescue TypeError
|
|||
# TypeError: allocator undefined for Abstract_inherit::Bar
|
||||
exceptionRaised = true
|
||||
ensure
|
||||
swig_assert( exceptionRaised, "exceptionRaised")
|
||||
swig_assert( "exceptionRaised", binding )
|
||||
end
|
||||
|
||||
exceptionRaised = false
|
||||
|
|
@ -55,7 +55,7 @@ rescue TypeError
|
|||
# TypeError: allocator undefined for Abstract_inherit::Spam
|
||||
exceptionRaised = true
|
||||
ensure
|
||||
swig_assert( exceptionRaised, "exceptionRaised")
|
||||
swig_assert( "exceptionRaised", binding )
|
||||
end
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue