Updated CHANGES.current.
Fixed problems with insert() and unshift() functions in std::vector for ruby. Updated Ruby documentation. Improved swig_assert.rb. Added "second" singleton to std_pair in ruby. Modified two tests to follow the new STL stuff. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9721 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b2a45de097
commit
806d9040c5
11 changed files with 2768 additions and 1075 deletions
|
|
@ -23,7 +23,7 @@ def swig_assert( condition, *args )
|
|||
end
|
||||
|
||||
unless ok
|
||||
raise SwigRubyError.new("FAILED CHECK: #{condition} #{args.join(' ')}")
|
||||
raise SwigRubyError.new("FAILED CHECK: #{condition} was #{ok.inspect} #{args.join(' ')}")
|
||||
end
|
||||
|
||||
if $VERBOSE
|
||||
|
|
@ -39,3 +39,10 @@ rescue => e
|
|||
end
|
||||
exit(1)
|
||||
end
|
||||
|
||||
|
||||
def swig_assert_each_line( lines )
|
||||
lines.split("\n").each do |line|
|
||||
swig_assert(line)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue