Added support for complex numbers.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@9743 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Gonzalo Garramuno 2007-05-01 10:37:09 +00:00
commit 68b52c4ee5
4 changed files with 139 additions and 2 deletions

View file

@ -644,7 +644,7 @@ namespace swig
{
VALUE v = swig::from< Sequence::value_type >(*i);
if ( RTEST( rb_yield(v) ) )
$self->push_back(*i);
$self->insert( r->end(), *i);
}
return r;