Removed macro stuff titles of author, copyright,

etc.



git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9785 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-05-06 18:02:24 +00:00
commit 8742036cbd
126 changed files with 386 additions and 379 deletions

View file

@ -4,13 +4,13 @@
# objects to change the sorting function used in them. Same as a
# std::binary_predicate in C++.
#
# Author::
# Copyright::
# License:: Ruby
#
#
#
#
require 'swig_assert'
require 'stl_new'
require 'li_std_functors'
def _set(container)
@ -53,10 +53,17 @@ EOF
end
def test
yield method(:_set), Stl_new::Set
yield method(:_map), Stl_new::Map
yield method(:_set), Li_std_functors::Set
yield method(:_map), Li_std_functors::Map
end
# these should fail and not segfault
begin
p 'a'
p Li_std_functors::Set.new('sd')
rescue => e
p e
end
test do |proc, container|
proc.call(container)